diff options
author | George Fraser <george@fivetran.com> | 2019-01-24 22:53:36 -0800 |
---|---|---|
committer | George Fraser <george@fivetran.com> | 2019-03-31 10:49:44 -0700 |
commit | 31e0469b9ce63d39f8a732b32ae1afbc2e8e9d37 (patch) | |
tree | 4fb6a323f47710b33b1b50ca1f749d50e15e6995 /src/test/incremental-compile | |
parent | f00234f1bc0949e21527c189ce7ceb33438ec932 (diff) | |
download | java-language-server-31e0469b9ce63d39f8a732b32ae1afbc2e8e9d37.zip |
Demo how to re-use compiler
Diffstat (limited to 'src/test/incremental-compile')
-rw-r--r-- | src/test/incremental-compile/src/foo/bar/Bar.java | 7 | ||||
-rw-r--r-- | src/test/incremental-compile/src/foo/bar/Foo.java | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/test/incremental-compile/src/foo/bar/Bar.java b/src/test/incremental-compile/src/foo/bar/Bar.java new file mode 100644 index 0000000..0f0829a --- /dev/null +++ b/src/test/incremental-compile/src/foo/bar/Bar.java @@ -0,0 +1,7 @@ +package foo.bar; + +class Bar { + static int test() { + return 1; + } +}
\ No newline at end of file diff --git a/src/test/incremental-compile/src/foo/bar/Foo.java b/src/test/incremental-compile/src/foo/bar/Foo.java new file mode 100644 index 0000000..dea73d5 --- /dev/null +++ b/src/test/incremental-compile/src/foo/bar/Foo.java @@ -0,0 +1,7 @@ +package foo.bar; + +class Foo { + static void test() { + var x = Bar.test(); + } +}
\ No newline at end of file |