aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/a/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/a/pkg')
-rw-r--r--src/test/java/a/pkg/A.java5
-rw-r--r--src/test/java/a/pkg/AParent.java3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/test/java/a/pkg/A.java b/src/test/java/a/pkg/A.java
index 94e8a77..b5480d4 100644
--- a/src/test/java/a/pkg/A.java
+++ b/src/test/java/a/pkg/A.java
@@ -1,6 +1,7 @@
package a.pkg;
public class A extends AParent implements AInterface {
+ private A a;
private int aField;
public A() {
@@ -13,6 +14,10 @@ public class A extends AParent implements AInterface {
aInterfaceMethod();
}
+ public A getA() {
+ return this;
+ }
+
public void aOverloaded() {
}
diff --git a/src/test/java/a/pkg/AParent.java b/src/test/java/a/pkg/AParent.java
index aaf35fb..ac0ea7c 100644
--- a/src/test/java/a/pkg/AParent.java
+++ b/src/test/java/a/pkg/AParent.java
@@ -1,4 +1,7 @@
package a.pkg;
public class AParent {
+ public AParent aParentMethod() {
+ return this;
+ }
}