blob: 2486646bd3129a133b649c2d90109238a5f0ad4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
public enum DataOnEnum {
A("hello");
private final String someField;
@java.lang.SuppressWarnings("all")
public String getSomeField() {
return this.someField;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "DataOnEnum(someField=" + this.getSomeField() + ")";
}
@java.lang.SuppressWarnings("all")
private DataOnEnum(final String someField) {
this.someField = someField;
}
}
|