blob: 5cfe882381eddbe7d32058ac0241bfa5a06ab49a (
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;
}
}
|