Uses of Class
org.objectweb.asm.Label
-
Packages that use Label Package Description org.objectweb.asm Provides a small and fast bytecode manipulation framework.org.objectweb.asm.commons Provides some useful class and method adapters.org.objectweb.asm.tree Provides an ASM visitor that constructs a tree representation of the classes it visits.org.objectweb.asm.util Provides ASM visitors that can be useful for programming and debugging purposes.org.objectweb.asm.xml Provides SAX 2.0 adapters for ASM visitors to convert classes to and from XML. -
-
Uses of Label in org.objectweb.asm
Methods in org.objectweb.asm that return Label Modifier and Type Method Description protected Label[]
Attribute. getLabels()
Returns the labels corresponding to this attribute.protected Label
ClassReader. readLabel(int offset, Label[] labels)
Returns the label corresponding to the given offset.Methods in org.objectweb.asm with parameters of type Label Modifier and Type Method Description protected Attribute
Attribute. read(ClassReader cr, int off, int len, char[] buf, int codeOff, Label[] labels)
Reads atype
attribute.protected Label
ClassReader. readLabel(int offset, Label[] labels)
Returns the label corresponding to the given offset.void
MethodVisitor. visitJumpInsn(int opcode, Label label)
Visits a jump instruction.void
MethodVisitor. visitLabel(Label label)
Visits a label.void
MethodVisitor. visitLineNumber(int line, Label start)
Visits a line number declaration.void
MethodVisitor. visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, Label start, Label end, int index)
Visits a local variable declaration.AnnotationVisitor
MethodVisitor. visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, java.lang.String desc, boolean visible)
Visits an annotation on a local variable type.void
MethodVisitor. visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
Visits a LOOKUPSWITCH instruction.void
MethodVisitor. visitTableSwitchInsn(int min, int max, Label dflt, Label... labels)
Visits a TABLESWITCH instruction.void
MethodVisitor. visitTryCatchBlock(Label start, Label end, Label handler, java.lang.String type)
Visits a try catch block. -
Uses of Label in org.objectweb.asm.commons
Methods in org.objectweb.asm.commons that return Label Modifier and Type Method Description Label
GeneratorAdapter. mark()
Marks the current code position with a new label.Label
GeneratorAdapter. newLabel()
Creates a newLabel
.Methods in org.objectweb.asm.commons with parameters of type Label Modifier and Type Method Description void
GeneratorAdapter. catchException(Label start, Label end, Type exception)
Marks the start of an exception handler.void
TableSwitchGenerator. generateCase(int key, Label end)
Generates the code for a switch case.void
GeneratorAdapter. goTo(Label label)
Generates the instruction to jump to the given label.void
InstructionAdapter. goTo(Label label)
void
InstructionAdapter. ifacmpeq(Label label)
void
InstructionAdapter. ifacmpne(Label label)
void
GeneratorAdapter. ifCmp(Type type, int mode, Label label)
Generates the instructions to jump to a label based on the comparison of the top two stack values.void
InstructionAdapter. ifeq(Label label)
void
InstructionAdapter. ifge(Label label)
void
InstructionAdapter. ifgt(Label label)
void
GeneratorAdapter. ifICmp(int mode, Label label)
Generates the instructions to jump to a label based on the comparison of the top two integer stack values.void
InstructionAdapter. ificmpeq(Label label)
void
InstructionAdapter. ificmpge(Label label)
void
InstructionAdapter. ificmpgt(Label label)
void
InstructionAdapter. ificmple(Label label)
void
InstructionAdapter. ificmplt(Label label)
void
InstructionAdapter. ificmpne(Label label)
void
InstructionAdapter. ifle(Label label)
void
InstructionAdapter. iflt(Label label)
void
InstructionAdapter. ifne(Label label)
void
InstructionAdapter. ifnonnull(Label label)
void
GeneratorAdapter. ifNonNull(Label label)
Generates the instruction to jump to the given label if the top stack value is not null.void
InstructionAdapter. ifnull(Label label)
void
GeneratorAdapter. ifNull(Label label)
Generates the instruction to jump to the given label if the top stack value is null.void
GeneratorAdapter. ifZCmp(int mode, Label label)
Generates the instructions to jump to a label based on the comparison of the top integer stack value with zero.void
InstructionAdapter. jsr(Label label)
void
InstructionAdapter. lookupswitch(Label dflt, int[] keys, Label[] labels)
void
GeneratorAdapter. mark(Label label)
Marks the current code position with the given label.void
InstructionAdapter. mark(Label label)
void
InstructionAdapter. tableswitch(int min, int max, Label dflt, Label... labels)
void
AdviceAdapter. visitJumpInsn(int opcode, Label label)
void
AnalyzerAdapter. visitJumpInsn(int opcode, Label label)
void
CodeSizeEvaluator. visitJumpInsn(int opcode, Label label)
void
InstructionAdapter. visitJumpInsn(int opcode, Label label)
void
JSRInlinerAdapter. visitJumpInsn(int opcode, Label lbl)
Detects a JSR instruction and sets a flag to indicate we will need to do inlining.void
AdviceAdapter. visitLabel(Label label)
void
AnalyzerAdapter. visitLabel(Label label)
void
InstructionAdapter. visitLabel(Label label)
void
LocalVariablesSorter. visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, Label start, Label end, int index)
void
MethodRemapper. visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, Label start, Label end, int index)
void
RemappingMethodAdapter. visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, Label start, Label end, int index)
Deprecated.AnnotationVisitor
LocalVariablesSorter. visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, java.lang.String desc, boolean visible)
AnnotationVisitor
MethodRemapper. visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, java.lang.String desc, boolean visible)
AnnotationVisitor
RemappingMethodAdapter. visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, java.lang.String desc, boolean visible)
Deprecated.void
AdviceAdapter. visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
void
AnalyzerAdapter. visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
void
CodeSizeEvaluator. visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
void
InstructionAdapter. visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
void
AdviceAdapter. visitTableSwitchInsn(int min, int max, Label dflt, Label... labels)
void
AnalyzerAdapter. visitTableSwitchInsn(int min, int max, Label dflt, Label... labels)
void
CodeSizeEvaluator. visitTableSwitchInsn(int min, int max, Label dflt, Label... labels)
void
InstructionAdapter. visitTableSwitchInsn(int min, int max, Label dflt, Label... labels)
void
AdviceAdapter. visitTryCatchBlock(Label start, Label end, Label handler, java.lang.String type)
void
MethodRemapper. visitTryCatchBlock(Label start, Label end, Label handler, java.lang.String type)
void
RemappingMethodAdapter. visitTryCatchBlock(Label start, Label end, Label handler, java.lang.String type)
Deprecated. -
Uses of Label in org.objectweb.asm.tree
Methods in org.objectweb.asm.tree that return Label Modifier and Type Method Description Label
LabelNode. getLabel()
Methods in org.objectweb.asm.tree with parameters of type Label Modifier and Type Method Description protected LabelNode
MethodNode. getLabelNode(Label l)
Returns the LabelNode corresponding to the given Label.void
MethodNode. visitJumpInsn(int opcode, Label label)
void
MethodNode. visitLabel(Label label)
void
MethodNode. visitLineNumber(int line, Label start)
void
MethodNode. visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, Label start, Label end, int index)
AnnotationVisitor
MethodNode. visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, java.lang.String desc, boolean visible)
void
MethodNode. visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
void
MethodNode. visitTableSwitchInsn(int min, int max, Label dflt, Label... labels)
void
MethodNode. visitTryCatchBlock(Label start, Label end, Label handler, java.lang.String type)
Constructors in org.objectweb.asm.tree with parameters of type Label Constructor Description LabelNode(Label label)
-
Uses of Label in org.objectweb.asm.util
Fields in org.objectweb.asm.util with type parameters of type Label Modifier and Type Field Description protected java.util.Map<Label,java.lang.String>
ASMifier. labelNames
The label names.protected java.util.Map<Label,java.lang.String>
Textifier. labelNames
The label names.Methods in org.objectweb.asm.util with parameters of type Label Modifier and Type Method Description protected void
ASMifier. appendLabel(Label l)
Appends the name of the given label tobuf
.protected void
Textifier. appendLabel(Label l)
Appends the name of the given label tobuf
.protected void
ASMifier. declareLabel(Label l)
Appends a declaration of the given label tobuf
.void
ASMifier. visitJumpInsn(int opcode, Label label)
void
CheckMethodAdapter. visitJumpInsn(int opcode, Label label)
abstract void
Printer. visitJumpInsn(int opcode, Label label)
Method jump instruction.void
Textifier. visitJumpInsn(int opcode, Label label)
void
TraceMethodVisitor. visitJumpInsn(int opcode, Label label)
void
ASMifier. visitLabel(Label label)
void
CheckMethodAdapter. visitLabel(Label label)
abstract void
Printer. visitLabel(Label label)
Method label.void
Textifier. visitLabel(Label label)
void
TraceMethodVisitor. visitLabel(Label label)
void
ASMifier. visitLineNumber(int line, Label start)
void
CheckMethodAdapter. visitLineNumber(int line, Label start)
abstract void
Printer. visitLineNumber(int line, Label start)
Method debug info.void
Textifier. visitLineNumber(int line, Label start)
void
TraceMethodVisitor. visitLineNumber(int line, Label start)
void
ASMifier. visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, Label start, Label end, int index)
void
CheckMethodAdapter. visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, Label start, Label end, int index)
abstract void
Printer. visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, Label start, Label end, int index)
Method debug info.void
Textifier. visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, Label start, Label end, int index)
void
TraceMethodVisitor. visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, Label start, Label end, int index)
Printer
ASMifier. visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, java.lang.String desc, boolean visible)
AnnotationVisitor
CheckMethodAdapter. visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, java.lang.String desc, boolean visible)
Printer
Printer. visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, java.lang.String desc, boolean visible)
Local variable type annotation.Printer
Textifier. visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, java.lang.String desc, boolean visible)
AnnotationVisitor
TraceMethodVisitor. visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, java.lang.String desc, boolean visible)
void
ASMifier. visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
void
CheckMethodAdapter. visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
abstract void
Printer. visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
Method instruction.void
Textifier. visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
void
TraceMethodVisitor. visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
void
ASMifier. visitTableSwitchInsn(int min, int max, Label dflt, Label... labels)
void
CheckMethodAdapter. visitTableSwitchInsn(int min, int max, Label dflt, Label... labels)
abstract void
Printer. visitTableSwitchInsn(int min, int max, Label dflt, Label... labels)
Method instruction.void
Textifier. visitTableSwitchInsn(int min, int max, Label dflt, Label... labels)
void
TraceMethodVisitor. visitTableSwitchInsn(int min, int max, Label dflt, Label... labels)
void
ASMifier. visitTryCatchBlock(Label start, Label end, Label handler, java.lang.String type)
void
CheckMethodAdapter. visitTryCatchBlock(Label start, Label end, Label handler, java.lang.String type)
abstract void
Printer. visitTryCatchBlock(Label start, Label end, Label handler, java.lang.String type)
Method exception handler.void
Textifier. visitTryCatchBlock(Label start, Label end, Label handler, java.lang.String type)
void
TraceMethodVisitor. visitTryCatchBlock(Label start, Label end, Label handler, java.lang.String type)
Method parameters in org.objectweb.asm.util with type arguments of type Label Modifier and Type Method Description void
ASMifiable. asmify(java.lang.StringBuffer buf, java.lang.String varName, java.util.Map<Label,java.lang.String> labelNames)
Prints the ASM code to create an attribute equal to this attribute.void
Textifiable. textify(java.lang.StringBuffer buf, java.util.Map<Label,java.lang.String> labelNames)
Build a human readable representation of this attribute.Constructor parameters in org.objectweb.asm.util with type arguments of type Label Constructor Description CheckMethodAdapter(int access, java.lang.String name, java.lang.String desc, MethodVisitor cmv, java.util.Map<Label,java.lang.Integer> labels)
Constructs a newCheckMethodAdapter
object.CheckMethodAdapter(int api, MethodVisitor mv, java.util.Map<Label,java.lang.Integer> labels)
Constructs a newCheckMethodAdapter
object.CheckMethodAdapter(MethodVisitor mv, java.util.Map<Label,java.lang.Integer> labels)
Constructs a newCheckMethodAdapter
object. -
Uses of Label in org.objectweb.asm.xml
Fields in org.objectweb.asm.xml with type parameters of type Label Modifier and Type Field Description protected java.util.Map<java.lang.Object,Label>
ASMContentHandler. labels
Map of the activeLabel
instances for current method.Methods in org.objectweb.asm.xml that return Label Modifier and Type Method Description protected Label
ASMContentHandler.Rule. getLabel(java.lang.Object label)
Methods in org.objectweb.asm.xml with parameters of type Label Modifier and Type Method Description void
SAXCodeAdapter. visitJumpInsn(int opcode, Label label)
void
SAXCodeAdapter. visitLabel(Label label)
void
SAXCodeAdapter. visitLineNumber(int line, Label start)
void
SAXCodeAdapter. visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, Label start, Label end, int index)
AnnotationVisitor
SAXCodeAdapter. visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, java.lang.String desc, boolean visible)
void
SAXCodeAdapter. visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)
void
SAXCodeAdapter. visitTableSwitchInsn(int min, int max, Label dflt, Label... labels)
void
SAXCodeAdapter. visitTryCatchBlock(Label start, Label end, Label handler, java.lang.String type)
-