Kapt3: Put static modifiers on nested non-inner classes.
Do not initialize synthetic and static fields in constructor.
This commit is contained in:
committed by
Yan Zhulanow
parent
68c2e8d71d
commit
e131763cb0
+15
@@ -9,4 +9,19 @@ class Simple {
|
||||
|
||||
@interface MyAnnotation {
|
||||
|
||||
}
|
||||
|
||||
enum EnumClass {
|
||||
BLACK, WHITE
|
||||
}
|
||||
|
||||
|
||||
enum EnumClass2 {
|
||||
WHITE("A"), RED("B");
|
||||
|
||||
private final String blah;
|
||||
|
||||
EnumClass2(String blah) {
|
||||
this.blah = blah;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user