Class ComparisonInfo
java.lang.Object
com.llamalad7.mixinextras.expression.impl.utils.ComparisonInfo
- Direct Known Subclasses:
ComplexComparisonInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intfinal org.objectweb.asm.Typefinal booleanprotected final InsnReference -
Constructor Summary
ConstructorsConstructorDescriptionComparisonInfo(int comparison, FlowValue node, org.objectweb.asm.Type input, boolean jumpOnTrue) -
Method Summary
Modifier and TypeMethodDescriptionvoidattach(BiConsumer<String, Object> decorate, BiConsumer<String, Object> decorateInjectorSpecific) voidcleanup(org.spongepowered.asm.mixin.injection.struct.Target target) intcopyJump(org.objectweb.asm.tree.InsnList insns) org.objectweb.asm.tree.JumpInsnNodegetJumpInsn(org.spongepowered.asm.mixin.injection.struct.Target target) org.objectweb.asm.tree.LabelNodegetJumpTarget(org.spongepowered.asm.mixin.injection.struct.Target target)
-
Field Details
-
comparison
protected final int comparison -
node
-
input
public final org.objectweb.asm.Type input -
jumpOnTrue
public final boolean jumpOnTrue
-
-
Constructor Details
-
ComparisonInfo
public ComparisonInfo(int comparison, FlowValue node, org.objectweb.asm.Type input, boolean jumpOnTrue)
-
-
Method Details
-
attach
public void attach(BiConsumer<String, Object> decorate, BiConsumer<String, Object> decorateInjectorSpecific) -
copyJump
public int copyJump(org.objectweb.asm.tree.InsnList insns) -
getJumpTarget
public org.objectweb.asm.tree.LabelNode getJumpTarget(org.spongepowered.asm.mixin.injection.struct.Target target) -
getJumpInsn
public org.objectweb.asm.tree.JumpInsnNode getJumpInsn(org.spongepowered.asm.mixin.injection.struct.Target target) -
cleanup
public void cleanup(org.spongepowered.asm.mixin.injection.struct.Target target)
-