diff options
Diffstat (limited to 'src/test/resources/java/static-nested-class/com')
| -rw-r--r-- | src/test/resources/java/static-nested-class/com/example/StaticNestedClass.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/resources/java/static-nested-class/com/example/StaticNestedClass.java b/src/test/resources/java/static-nested-class/com/example/StaticNestedClass.java new file mode 100644 index 0000000..0ef0b36 --- /dev/null +++ b/src/test/resources/java/static-nested-class/com/example/StaticNestedClass.java @@ -0,0 +1,14 @@ +package com.example; + +public class StaticNestedClass { + public static int value() { + IntSupplier supplier = new IntSupplier(); + return supplier.get(); + } + + private static class IntSupplier { + public int get() { + return 42; + } + } +} |
