aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/b
diff options
context:
space:
mode:
authorJonas Herzig <jonas@spark-squared.com>2021-11-11 20:37:10 +0100
committerJonas Herzig <jonas@spark-squared.com>2021-11-12 15:23:25 +0100
commit1aa8b425982a6d30a177bc25a70a325652209ee0 (patch)
treed2566206ab2fd4580608d0b2a00a1929ab2e34b2 /src/test/java/b
parent42abaaa0994ee5d0cc900e1f819605b88185f64f (diff)
downloadRemap-1aa8b425982a6d30a177bc25a70a325652209ee0.tar.gz
Remap-1aa8b425982a6d30a177bc25a70a325652209ee0.tar.bz2
Remap-1aa8b425982a6d30a177bc25a70a325652209ee0.zip
Fix methods in mixin being remapped when they should not be
Diffstat (limited to 'src/test/java/b')
-rw-r--r--src/test/java/b/pkg/B.java5
-rw-r--r--src/test/java/b/pkg/BParent.java3
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;
+ }
}