1 /*
2 * MIT License
3 * Copyright (c) 2006-2025 JMockit developers
4 * See LICENSE file for full license text.
5 */
6 package integration.tests;
7
8 /**
9 * The Class ClassWithNestedEnum.
10 */
11 final class ClassWithNestedEnum {
12
13 /**
14 * The Enum NestedEnum.
15 */
16 enum NestedEnum {
17
18 /** The elem. */
19 ELEM
20 }
21
22 /**
23 * The Class NestedClass.
24 */
25 static final class NestedClass {
26
27 /**
28 * Use enum from outer class.
29 */
30 static void useEnumFromOuterClass() {
31 NestedEnum.values();
32 }
33
34 /**
35 * Gets the outer.
36 *
37 * @return the outer
38 */
39 @SuppressWarnings("unused")
40 ClassWithNestedEnum getOuter() {
41 return null;
42 }
43 }
44 }