Class ExpressionASMUtils
java.lang.Object
com.llamalad7.mixinextras.expression.impl.utils.ExpressionASMUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.objectweb.asm.Handlestatic final org.objectweb.asm.Typestatic final org.objectweb.asm.Typestatic final org.objectweb.asm.Handlestatic final org.objectweb.asm.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.objectweb.asm.TypegetBinaryType(org.objectweb.asm.tree.AbstractInsnNode insn, org.objectweb.asm.Type left) static org.objectweb.asm.TypegetCastType(org.objectweb.asm.tree.AbstractInsnNode insn) static org.objectweb.asm.TypegetCommonIntType(FlowContext ctx, org.objectweb.asm.Type type1, org.objectweb.asm.Type type2) static org.objectweb.asm.TypegetCommonSupertype(FlowContext ctx, org.objectweb.asm.Type type1, org.objectweb.asm.Type type2) static ObjectgetConstant(org.objectweb.asm.tree.AbstractInsnNode insn) static org.objectweb.asm.TypegetInnerType(org.objectweb.asm.Type arrayType) static org.objectweb.asm.TypegetNaryType(org.objectweb.asm.tree.AbstractInsnNode insn) static org.objectweb.asm.TypegetNewArrayType(org.objectweb.asm.tree.IntInsnNode newArray) static org.objectweb.asm.TypegetNewType(org.objectweb.asm.tree.AbstractInsnNode insn) static org.objectweb.asm.TypegetUnaryType(org.objectweb.asm.tree.AbstractInsnNode insn) static booleanisIntLike(org.objectweb.asm.Type type) static org.objectweb.asm.tree.AbstractInsnNodepushInt(int integer)
-
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
-
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)
-