aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/b/pkg/B.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/b/pkg/B.java')
-rw-r--r--src/test/java/b/pkg/B.java5
1 files changed, 5 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() {
}