Class ASMUtils

java.lang.Object
com.llamalad7.mixinextras.utils.ASMUtils

public class ASMUtils extends Object
  • Constructor Details

    • ASMUtils

      public ASMUtils()
  • Method Details

    • annotationToString

      public static String annotationToString(org.objectweb.asm.tree.AnnotationNode annotation)
    • typeToString

      public static String typeToString(org.objectweb.asm.Type type)
    • 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 in Target but it's wrong.