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.
28 lines
761 B
28 lines
761 B
package dev.openrs2.asm.classpath
|
|
|
|
import org.objectweb.asm.commons.Remapper
|
|
import org.objectweb.asm.tree.AbstractInsnNode
|
|
|
|
abstract class ExtendedRemapper : Remapper() {
|
|
open fun getFieldInitializer(owner: String, name: String, descriptor: String): List<AbstractInsnNode>? {
|
|
return null
|
|
}
|
|
|
|
open fun mapFieldOwner(owner: String, name: String, descriptor: String): String {
|
|
return mapType(owner)
|
|
}
|
|
|
|
open fun mapMethodOwner(owner: String, name: String, descriptor: String): String {
|
|
return mapType(owner)
|
|
}
|
|
|
|
open fun mapArgumentName(
|
|
owner: String,
|
|
name: String,
|
|
descriptor: String,
|
|
index: Int,
|
|
argumentName: String?
|
|
): String? {
|
|
return argumentName
|
|
}
|
|
}
|
|
|