1 package integrationTests;
2
3 /**
4 * The Class ClassWithNestedEnum.
5 */
6 final class ClassWithNestedEnum {
7
8 /**
9 * The Enum NestedEnum.
10 */
11 enum NestedEnum {
12
13 /** The elem. */
14 ELEM
15 }
16
17 /**
18 * The Class NestedClass.
19 */
20 static final class NestedClass {
21
22 /**
23 * Use enum from outer class.
24 */
25 static void useEnumFromOuterClass() {
26 NestedEnum.values();
27 }
28
29 /**
30 * Gets the outer.
31 *
32 * @return the outer
33 */
34 @SuppressWarnings("unused")
35 ClassWithNestedEnum getOuter() {
36 return null;
37 }
38 }
39 }