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
@UtilicyClass makes methods and inner class modifiers to static. but Inner class modification function does not work properly in java 11 and above.
@UtilicyClass
example case)
@UtilityClass public class UtilClazz { public static void method() { InnerClazz obj = new InnerClazz(); } private class InnerClazz { } }
it's works well in Java8 but when we use project sdk as java11 it occurs error
Java8
java11
non-static variable this cannot be referenced from a static context
But when I delombok or open in the class file, it modified well as a static class. so I think it's not a lombobk dependency's bug but plugin's bug
it could be works well in java11 likes java8
java8
The text was updated successfully, but these errors were encountered:
See also projectlombok/lombok#3097, which finds the same problem using direct javac compilation: no IDE, no plugin, just the Java compiler.
javac
Sorry, something went wrong.
No branches or pull requests
Short description
@UtilicyClass
makes methods and inner class modifiers to static.but Inner class modification function does not work properly in java 11 and above.
example case)
it's works well in
Java8
but when we use project sdk asjava11
it occurs errorBut when I delombok or open in the class file, it modified well as a static class.
so I think it's not a lombobk dependency's bug but plugin's bug
Expected behavior
it could be works well in
java11
likesjava8
Version information
The text was updated successfully, but these errors were encountered: