@UtilityClass handlers now more intelligent about inner types of implicitly static contexts (enums, interfaces, and annotation declarations). Also added tests to test for these.

This commit is contained in:
Reinier Zwitserloot
2015-02-04 00:08:48 +01:00
parent 74b38cd7d6
commit 58a7914027
11 changed files with 126 additions and 25 deletions
@@ -11,4 +11,12 @@ class UtilityClassErrors1 {
}
@lombok.experimental.UtilityClass
enum UtilityClassErrors2 {
}
class UtilityClassErrors3 {
class NonStaticInner {
@lombok.experimental.UtilityClass
class ThisShouldFail {
private String member;
}
}
}