diff options
Diffstat (limited to 'src/test/test-project')
-rw-r--r-- | src/test/test-project/workspace/src/org/javacs/example/Goto.java | 4 | ||||
-rw-r--r-- | src/test/test-project/workspace/src/org/javacs/example/GotoPackagePrivate.java | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/test/test-project/workspace/src/org/javacs/example/Goto.java b/src/test/test-project/workspace/src/org/javacs/example/Goto.java index 3f4cb2f..6d1b698 100644 --- a/src/test/test-project/workspace/src/org/javacs/example/Goto.java +++ b/src/test/test-project/workspace/src/org/javacs/example/Goto.java @@ -45,4 +45,8 @@ public class Goto<Param> { } public Param getParam() { } + + void testGotoPackagePrivate() { + var x = GotoPackagePrivate.PUBLIC_FIELD; + } }
\ No newline at end of file diff --git a/src/test/test-project/workspace/src/org/javacs/example/GotoPackagePrivate.java b/src/test/test-project/workspace/src/org/javacs/example/GotoPackagePrivate.java new file mode 100644 index 0000000..0c5ba11 --- /dev/null +++ b/src/test/test-project/workspace/src/org/javacs/example/GotoPackagePrivate.java @@ -0,0 +1,5 @@ +package org.javacs.example; + +class GotoPackagePrivate { + public static int PUBLIC_FIELD = 1; +}
\ No newline at end of file |