Class ExpressionASMUtils

java.lang.Object
com.llamalad7.mixinextras.expression.impl.utils.ExpressionASMUtils

public class ExpressionASMUtils extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.objectweb.asm.Handle
     
    static final org.objectweb.asm.Type
     
    static final org.objectweb.asm.Type
     
    static final org.objectweb.asm.Handle
     
    static final org.objectweb.asm.Type
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.objectweb.asm.Type
    getBinaryType(org.objectweb.asm.tree.AbstractInsnNode insn, org.objectweb.asm.Type left)
     
    static org.objectweb.asm.Type
    getCastType(org.objectweb.asm.tree.AbstractInsnNode insn)
     
    static org.objectweb.asm.Type
    getCommonIntType(FlowContext ctx, org.objectweb.asm.Type type1, org.objectweb.asm.Type type2)
     
    static org.objectweb.asm.Type
    getCommonSupertype(FlowContext ctx, org.objectweb.asm.Type type1, org.objectweb.asm.Type type2)
     
    static Object
    getConstant(org.objectweb.asm.tree.AbstractInsnNode insn)
     
    static org.objectweb.asm.Type
    getInnerType(org.objectweb.asm.Type arrayType)
     
    static org.objectweb.asm.Type
    getNaryType(org.objectweb.asm.tree.AbstractInsnNode insn)
     
    static org.objectweb.asm.Type
    getNewArrayType(org.objectweb.asm.tree.IntInsnNode newArray)
     
    static org.objectweb.asm.Type
    getNewType(org.objectweb.asm.tree.AbstractInsnNode insn)
     
    static org.objectweb.asm.Type
    getUnaryType(org.objectweb.asm.tree.AbstractInsnNode insn)
     
    static boolean
    isIntLike(org.objectweb.asm.Type type)
     
    static org.objectweb.asm.tree.AbstractInsnNode
    pushInt(int integer)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • OBJECT_TYPE

      public static final org.objectweb.asm.Type OBJECT_TYPE
    • BOTTOM_TYPE

      public static final org.objectweb.asm.Type BOTTOM_TYPE
    • INTLIKE_TYPE

      public static final org.objectweb.asm.Type INTLIKE_TYPE
    • LMF_HANDLE

      public static final org.objectweb.asm.Handle LMF_HANDLE
    • ALT_LMF_HANDLE

      public static final org.objectweb.asm.Handle ALT_LMF_HANDLE
  • Constructor Details

    • ExpressionASMUtils

      public ExpressionASMUtils()
  • Method Details

    • getNewType

      public static org.objectweb.asm.Type getNewType(org.objectweb.asm.tree.AbstractInsnNode insn)
    • getUnaryType

      public static org.objectweb.asm.Type getUnaryType(org.objectweb.asm.tree.AbstractInsnNode insn)
    • getBinaryType

      public static org.objectweb.asm.Type getBinaryType(org.objectweb.asm.tree.AbstractInsnNode insn, org.objectweb.asm.Type left)
    • getNaryType

      public static org.objectweb.asm.Type getNaryType(org.objectweb.asm.tree.AbstractInsnNode insn)
    • getCommonSupertype

      public static org.objectweb.asm.Type getCommonSupertype(FlowContext ctx, org.objectweb.asm.Type type1, org.objectweb.asm.Type type2)
    • getCommonIntType

      public static org.objectweb.asm.Type getCommonIntType(FlowContext ctx, org.objectweb.asm.Type type1, org.objectweb.asm.Type type2)
    • isIntLike

      public static boolean isIntLike(org.objectweb.asm.Type type)
    • getInnerType

      public static org.objectweb.asm.Type getInnerType(org.objectweb.asm.Type arrayType)
    • getNewArrayType

      public static org.objectweb.asm.Type getNewArrayType(org.objectweb.asm.tree.IntInsnNode newArray)
    • getConstant

      public static Object getConstant(org.objectweb.asm.tree.AbstractInsnNode insn)
    • pushInt

      public static org.objectweb.asm.tree.AbstractInsnNode pushInt(int integer)
    • getCastType

      public static org.objectweb.asm.Type getCastType(org.objectweb.asm.tree.AbstractInsnNode insn)