blob: 2677cfa0df18cd1accc91ac31a2d497c5c2f2066 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
class FieldNameConstantsHandrolled1 {
int field1;
int alsoAField;
int thirdField;
public enum TypeTest {
alsoAField, thirdField, field1;
}
}
class FieldNameConstantsHandrolled2 {
int field1;
int alsoAField;
int thirdField;
public enum TypeTest {
alsoAField, thirdField, field1;
public String foo() {
return name();
}
}
}
class FieldNameConstantsHandrolled3 {
int field1;
int alsoAField;
int thirdField;
static class Fields {
public static final java.lang.String field1 = "field1";
public static final java.lang.String thirdField = "thirdField";
public static final int alsoAField = 5;
}
}
|