Skip to content
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

[BUG] UtilityClass - inner classes are not marked as static #2519

Closed
Robert-Ostrowski-Jagoda opened this issue Jul 17, 2020 · 2 comments
Closed

Comments

@Robert-Ostrowski-Jagoda
Copy link

Robert-Ostrowski-Jagoda commented Jul 17, 2020

Describe the bug
UtilityClass annotation is not making inner classes static.
I'v checked it by reverse engineering - compiled inner classes got constructor with reference to outer class instance (it means that those classes are not static).

To Reproduce
Just make TestClass with inner class (not manually marked as static) and add UtilityClass annotation to TestClass.

Version info (please complete the following information):

  • Lombok version 1.18.12
  • gradle, intellij, java 1.8
@Rawi01
Copy link
Collaborator

Rawi01 commented Jul 21, 2020

@Robert-Ostrowski-Jagoda
Copy link
Author

@Rawi01 - that's weird, I can't reproduce it either :/
Maybe that was issue with combination of few annotations.
Closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants