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
Describe the bug
Since the upgrade to Eclipse 2024-09 (4.33) the @Builder annotation leads to error markers in the Java editor under special circumstances.
@Builder
To Reproduce
Create a simple maven project in Eclipse containing these two classes:
MyClass.java
package test; import lombok.Builder; import lombok.Data; @Data @Builder public class MyClass { /** * . */ private String name; }
MyClass2.java
package test; public class MyClass2 { public void myMethod() { MyClass x = MyClass.builder().build(); } }
The reference to builder() in MyClass2 is underlined red with the error message 'The method builder() is undefined for the type MyClass'
When I remove the Javadoc comment from name in MyClass, the error goes away.
name
Expected behavior
There shouldn't be an error.
Version info (please complete the following information):
The text was updated successfully, but these errors were encountered:
Also with:
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Since the upgrade to Eclipse 2024-09 (4.33) the
@Builder
annotation leads to error markers in the Java editor under special circumstances.To Reproduce
Create a simple maven project in Eclipse containing these two classes:
MyClass.java
MyClass2.java
The reference to builder() in MyClass2 is underlined red with the error message 'The method builder() is undefined for the type MyClass'
When I remove the Javadoc comment from
name
in MyClass, the error goes away.Expected behavior
There shouldn't be an error.
Version info (please complete the following information):
The text was updated successfully, but these errors were encountered: