-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
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
Cannot resolve method 'onMethod_' in IDE #1354
Comments
I believe this is an issue with lombok-intellij-plugin mplushnikov/lombok-intellij-plugin#382 |
AFAIK, it mustn't exist. https://projectlombok.org/features/experimental/onX.html
|
Getting the same issue when using new Java8 onMethod syntax with Windows jdk1.8.0_121 and lombok 1.16.16. Using the new JDK 8 syntax
No IDE, just javac error: cannot find symbol |
Same here, exact same version. |
facing the same |
I run into this when upgrading to java8 but not another person in my team! javac -processor org.checkerframework.checker.nullness.NullnessChecker ... Without this even the java7 method compiles, will delombok getters and setters that needed this... |
Same here JDK:9.0.4 can some one help? |
Facing a similar issue when I run Enunciate plugin. Eclipse works after I run the Lombok JAR, and the Maven project compiles without errors, but other IDEs (like Visual Studio Code) and moreover, the Enunciate plugin is unable to finish. |
Do you mean to add that parameter or to remove it in order to compile? I was trying to add the parameter in the Maven configuration but it is not working. |
This issue is closed since original cause mplushnikov/lombok-intellij-plugin#382 was fixed |
After fix for #778 issue I have got an error in IDE.
I am using new version of lombok with the fix (1.16.16) and Java 8.
It turns whole my project to red with hint that IDE
Cannot resolve method 'onMethod_'
(I am using Intellij).But compilation is successful and generated code is working as expected.
Actually there is not such method in sources https://github.com/rzwitserloot/lombok/blob/master/src/core/lombok/Getter.java, only
AnyAnnotation[] onMethod() default {};
I don't want to disable
Cannot resolve method
Intellij inspection, is there any way to fix it?The text was updated successfully, but these errors were encountered: