aboutsummaryrefslogtreecommitdiff
path: root/src/test/kotlin/com/replaymod/gradle/remap/mapper
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/kotlin/com/replaymod/gradle/remap/mapper')
-rw-r--r--src/test/kotlin/com/replaymod/gradle/remap/mapper/mixin/TestMixinAccessors.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/kotlin/com/replaymod/gradle/remap/mapper/mixin/TestMixinAccessors.kt b/src/test/kotlin/com/replaymod/gradle/remap/mapper/mixin/TestMixinAccessors.kt
index 6d9fb38..0492569 100644
--- a/src/test/kotlin/com/replaymod/gradle/remap/mapper/mixin/TestMixinAccessors.kt
+++ b/src/test/kotlin/com/replaymod/gradle/remap/mapper/mixin/TestMixinAccessors.kt
@@ -14,6 +14,10 @@ class TestMixinAccessors {
void invokeAMethod();
@org.spongepowered.asm.mixin.gen.Invoker("aMethod")
void invokeBMethod();
+ @org.spongepowered.asm.mixin.gen.Invoker
+ void callAMethod();
+ @org.spongepowered.asm.mixin.gen.Invoker("aMethod")
+ void callBMethod();
}
""".trimIndent()) shouldBe """
@org.spongepowered.asm.mixin.Mixin(b.pkg.B.class)
@@ -22,6 +26,10 @@ class TestMixinAccessors {
void invokeAMethod();
@org.spongepowered.asm.mixin.gen.Invoker
void invokeBMethod();
+ @org.spongepowered.asm.mixin.gen.Invoker("bMethod")
+ void callAMethod();
+ @org.spongepowered.asm.mixin.gen.Invoker
+ void callBMethod();
}
""".trimIndent()
}