We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public interface DelegateInterface { @Delegate // line 7 Inner getInner(); } interface Inner { int getCode(); }
Compiles in Eclipse, but with javac it gives the error:
DelegateInterface.java:7: error: interface abstract methods cannot have body @Delegate ^ 1 error
Perhaps default was not added to the generated methods? If I understand @Delegate correctly, I expect the following after delombok:
default
@Delegate
public interface DelegateInterface { @Delegate Inner getInner(); default int getCode() { return getInner().getCode(); } }
Lombok 1.18.34 Java 22 Eclipse 4.32
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Compiles in Eclipse, but with javac it gives the error:
Perhaps
default
was not added to the generated methods? If I understand@Delegate
correctly, I expect the following after delombok:Lombok 1.18.34
Java 22
Eclipse 4.32
The text was updated successfully, but these errors were encountered: