Class LocalVariableDiscriminator.Context
java.lang.Object
org.spongepowered.asm.mixin.injection.modify.LocalVariableDiscriminator.Context
- All Implemented Interfaces:
PrettyPrinter.IPrettyPrintable
- Enclosing class:
LocalVariableDiscriminator
public static class LocalVariableDiscriminator.Context
extends Object
implements PrettyPrinter.IPrettyPrintable
Discriminator context information, wraps all relevant information about
a target location for use when performing discrimination
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassInformation about a local variable in the LVT, used during discrimination -
Constructor Summary
ConstructorsConstructorDescriptionContext(InjectionInfo info, org.objectweb.asm.Type returnType, boolean argsOnly, Target target, org.objectweb.asm.tree.AbstractInsnNode node) -
Method Summary
Modifier and TypeMethodDescriptionintvoidprint(PrettyPrinter printer) Append this objec to specified pretty printer
-
Constructor Details
-
Context
public Context(InjectionInfo info, org.objectweb.asm.Type returnType, boolean argsOnly, Target target, org.objectweb.asm.tree.AbstractInsnNode node)
-
-
Method Details
-
getCandidateCount
public int getCandidateCount() -
print
Description copied from interface:PrettyPrinter.IPrettyPrintableAppend this objec to specified pretty printer- Specified by:
printin interfacePrettyPrinter.IPrettyPrintable- Parameters:
printer- printer to append to
-