Open-source multiplayer game server compatible with the RuneScape client https://www.openrs2.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openrs2/asm/src/main/java/org/openrs2/asm/classpath/ExtendedRemapper.kt

29 lines
796 B

package org.openrs2.asm.classpath
import org.objectweb.asm.commons.Remapper
import org.objectweb.asm.tree.AbstractInsnNode
public abstract class ExtendedRemapper : Remapper() {
public open fun getFieldInitializer(owner: String, name: String, descriptor: String): List<AbstractInsnNode>? {
return null
}
public open fun mapFieldOwner(owner: String, name: String, descriptor: String): String {
return mapType(owner)
}
public open fun mapMethodOwner(owner: String, name: String, descriptor: String): String {
return mapType(owner)
}
public open fun mapArgumentName(
owner: String,
name: String,
descriptor: String,
index: Int,
argumentName: String?
): String? {
return argumentName
}
}