Kapt3: Put static modifiers on nested non-inner classes.

Do not initialize synthetic and static fields in constructor.
This commit is contained in:
Yan Zhulanow
2016-10-26 03:41:13 +03:00
committed by Yan Zhulanow
parent 68c2e8d71d
commit e131763cb0
7 changed files with 119 additions and 30 deletions
+15
View File
@@ -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;
}
}