diff options
Diffstat (limited to 'src/test/java/b')
-rw-r--r-- | src/test/java/b/pkg/B.java | 5 | ||||
-rw-r--r-- | src/test/java/b/pkg/BParent.java | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/test/java/b/pkg/B.java b/src/test/java/b/pkg/B.java index 9524513..88f46cf 100644 --- a/src/test/java/b/pkg/B.java +++ b/src/test/java/b/pkg/B.java @@ -1,6 +1,7 @@ package b.pkg; public class B extends BParent implements BInterface { + private B b; private int bField; public B() { @@ -13,6 +14,10 @@ public class B extends BParent implements BInterface { bInterfaceMethod(); } + public B getB() { + return this; + } + public void bOverloaded() { } diff --git a/src/test/java/b/pkg/BParent.java b/src/test/java/b/pkg/BParent.java index 29cae54..d4b20fa 100644 --- a/src/test/java/b/pkg/BParent.java +++ b/src/test/java/b/pkg/BParent.java @@ -1,4 +1,7 @@ package b.pkg; public class BParent { + public BParent bParentMethod() { + return this; + } } |