Package com.llamalad7.mixinextras.utils
Class ASMUtils
java.lang.Object
com.llamalad7.mixinextras.utils.ASMUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringannotationToString(org.objectweb.asm.tree.AnnotationNode annotation) static org.objectweb.asm.tree.MethodInsnNodefindInitNodeFor(org.spongepowered.asm.mixin.injection.struct.Target target, org.objectweb.asm.tree.TypeInsnNode newNode) Mixin already has this method inTargetbut it's wrong.static intgetDummyOpcodeForType(org.objectweb.asm.Type type) static org.objectweb.asm.tree.MethodInsnNodegetInvokeInstruction(org.objectweb.asm.tree.ClassNode owner, org.objectweb.asm.tree.MethodNode method) static booleanisPrimitive(org.objectweb.asm.Type type) static StringtypeToString(org.objectweb.asm.Type type)
-
Constructor Details
-
ASMUtils
public ASMUtils()
-
-
Method Details
-
annotationToString
-
typeToString
-
isPrimitive
public static boolean isPrimitive(org.objectweb.asm.Type type) -
getInvokeInstruction
public static org.objectweb.asm.tree.MethodInsnNode getInvokeInstruction(org.objectweb.asm.tree.ClassNode owner, org.objectweb.asm.tree.MethodNode method) -
getDummyOpcodeForType
public static int getDummyOpcodeForType(org.objectweb.asm.Type type) -
findInitNodeFor
public static org.objectweb.asm.tree.MethodInsnNode findInitNodeFor(org.spongepowered.asm.mixin.injection.struct.Target target, org.objectweb.asm.tree.TypeInsnNode newNode) Mixin already has this method inTargetbut it's wrong.
-