blob: 6b5779e8ae9a56fe218de58318f4a2748c5e5ecd (
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." + this.name() + "(someField=" + this.getSomeField() + ")";
}
@java.lang.SuppressWarnings("all")
private DataOnEnum(final String someField) {
this.someField = someField;
}
}
|