aboutsummaryrefslogtreecommitdiff
path: root/test/manual/moduleBasedMultiProject/projB
diff options
context:
space:
mode:
Diffstat (limited to 'test/manual/moduleBasedMultiProject/projB')
-rw-r--r--test/manual/moduleBasedMultiProject/projB/module-info.java5
-rw-r--r--test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java10
2 files changed, 15 insertions, 0 deletions
diff --git a/test/manual/moduleBasedMultiProject/projB/module-info.java b/test/manual/moduleBasedMultiProject/projB/module-info.java
new file mode 100644
index 00000000..7b82f362
--- /dev/null
+++ b/test/manual/moduleBasedMultiProject/projB/module-info.java
@@ -0,0 +1,5 @@
+module projB {
+ requires static lombok;
+ requires projA;
+}
+
diff --git a/test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java b/test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java
new file mode 100644
index 00000000..3f57f31e
--- /dev/null
+++ b/test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java
@@ -0,0 +1,10 @@
+import lombok.Getter;
+import pkgA.ClassA;
+
+public class ClassB {
+ @Getter private String world = "world";
+ public void test() {
+ new ClassA().getHello();
+ getWorld();
+ }
+}