I have a class hierarchy as below.
Child --> Parent --> SuperParent
Since the Child class has extended the Parent class I have to use Lombok's @SuperBuilder annotation instead of the @Builder. Also, as far as I know, all the superclasses need to have the @SuperBuilder annotation. But in my case, the SuperParent class comes from an external library, where I cannot add the @SuperBuilder annotation. I am getting the below compilation error.
The constructor SuperParent(DocumentUploadedResponseDto.DocumentUploadedResponseDtoBuilder<capture#1-of ?,capture#2-of ?>) is undefined.
Any solution or an alternative for this? Thank you.