1class EnumFieldAccess {
2    public enum MyEnum {
3        SOME, ARBITRARY, VALUES
4    }
5
6    public MyEnum accessField() {
7        return MyEnum.SOME;
8    }
9}
10