Uses of Class
org.objectweb.asm.Label
Packages that use Label
Package
Description
Provides a small and fast bytecode manipulation framework.
Provides some useful class and method adapters.
Provides an ASM visitor that constructs a tree representation of the
classes it visits.
Provides ASM visitors that can be useful for programming and
debugging purposes.
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 LabelModifier and TypeMethodDescriptionprotected Label[]Attribute.getLabels()Returns the labels corresponding to this attribute.protected LabelReturns the label corresponding to the given offset.Methods in org.objectweb.asm with parameters of type LabelModifier and TypeMethodDescriptionprotected AttributeAttribute.read(ClassReader cr, int off, int len, char[] buf, int codeOff, Label[] labels) Reads atypeattribute.protected LabelReturns the label corresponding to the given offset.voidMethodAdapter.visitJumpInsn(int opcode, Label label) voidMethodVisitor.visitJumpInsn(int opcode, Label label) Visits a jump instruction.voidMethodAdapter.visitLabel(Label label) voidMethodVisitor.visitLabel(Label label) Visits a label.voidMethodAdapter.visitLineNumber(int line, Label start) voidMethodVisitor.visitLineNumber(int line, Label start) Visits a line number declaration.voidMethodAdapter.visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) voidMethodVisitor.visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) Visits a local variable declaration.voidMethodAdapter.visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) voidMethodVisitor.visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) Visits a LOOKUPSWITCH instruction.voidMethodAdapter.visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) voidMethodVisitor.visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) Visits a TABLESWITCH instruction.voidMethodAdapter.visitTryCatchBlock(Label start, Label end, Label handler, String type) voidMethodVisitor.visitTryCatchBlock(Label start, Label end, Label handler, String type) Visits a try catch block. -
Uses of Label in org.objectweb.asm.commons
Methods in org.objectweb.asm.commons that return LabelModifier and TypeMethodDescriptionGeneratorAdapter.mark()Marks the current code position with a new label.GeneratorAdapter.newLabel()Creates a newLabel.Methods in org.objectweb.asm.commons with parameters of type LabelModifier and TypeMethodDescriptionvoidGeneratorAdapter.catchException(Label start, Label end, Type exception) Marks the start of an exception handler.voidTableSwitchGenerator.generateCase(int key, Label end) Generates the code for a switch case.voidGenerates the instruction to jump to the given label.voidvoidvoidvoidGenerates the instructions to jump to a label based on the comparison of the top two stack values.voidvoidvoidvoidGenerates the instructions to jump to a label based on the comparison of the top two integer stack values.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidGenerates the instruction to jump to the given label if the top stack value is not null.voidvoidGenerates the instruction to jump to the given label if the top stack value is null.voidGenerates the instructions to jump to a label based on the comparison of the top integer stack value with zero.voidvoidInstructionAdapter.lookupswitch(Label dflt, int[] keys, Label[] labels) voidMarks the current code position with the given label.voidvoidInstructionAdapter.tableswitch(int min, int max, Label dflt, Label[] labels) voidAdviceAdapter.visitJumpInsn(int opcode, Label label) voidAnalyzerAdapter.visitJumpInsn(int opcode, Label label) voidCodeSizeEvaluator.visitJumpInsn(int opcode, Label label) voidEmptyVisitor.visitJumpInsn(int opcode, Label label) voidInstructionAdapter.visitJumpInsn(int opcode, Label label) voidJSRInlinerAdapter.visitJumpInsn(int opcode, Label lbl) Detects a JSR instruction and sets a flag to indicate we will need to do inlining.voidAdviceAdapter.visitLabel(Label label) voidAnalyzerAdapter.visitLabel(Label label) voidEmptyVisitor.visitLabel(Label label) voidInstructionAdapter.visitLabel(Label label) voidEmptyVisitor.visitLineNumber(int line, Label start) voidEmptyVisitor.visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) voidLocalVariablesSorter.visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) voidRemappingMethodAdapter.visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) voidAdviceAdapter.visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) voidAnalyzerAdapter.visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) voidCodeSizeEvaluator.visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) voidEmptyVisitor.visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) voidInstructionAdapter.visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) voidAdviceAdapter.visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) voidAnalyzerAdapter.visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) voidCodeSizeEvaluator.visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) voidEmptyVisitor.visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) voidInstructionAdapter.visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) voidEmptyVisitor.visitTryCatchBlock(Label start, Label end, Label handler, String type) voidRemappingMethodAdapter.visitTryCatchBlock(Label start, Label end, Label handler, String type) -
Uses of Label in org.objectweb.asm.tree
Methods in org.objectweb.asm.tree that return LabelMethods in org.objectweb.asm.tree with parameters of type LabelModifier and TypeMethodDescriptionprotected LabelNodeMethodNode.getLabelNode(Label l) Returns the LabelNode corresponding to the given Label.voidMethodNode.visitJumpInsn(int opcode, Label label) voidMethodNode.visitLabel(Label label) voidMethodNode.visitLineNumber(int line, Label start) voidMethodNode.visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) voidMethodNode.visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) voidMethodNode.visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) voidMethodNode.visitTryCatchBlock(Label start, Label end, Label handler, String type) Constructors in org.objectweb.asm.tree with parameters of type Label -
Uses of Label in org.objectweb.asm.util
Methods in org.objectweb.asm.util with parameters of type LabelModifier and TypeMethodDescriptionprotected voidTraceMethodVisitor.appendLabel(Label l) Appends the name of the given label tobuf.voidASMifierMethodVisitor.visitJumpInsn(int opcode, Label label) voidCheckMethodAdapter.visitJumpInsn(int opcode, Label label) voidTraceMethodVisitor.visitJumpInsn(int opcode, Label label) voidASMifierMethodVisitor.visitLabel(Label label) voidCheckMethodAdapter.visitLabel(Label label) voidTraceMethodVisitor.visitLabel(Label label) voidASMifierMethodVisitor.visitLineNumber(int line, Label start) voidCheckMethodAdapter.visitLineNumber(int line, Label start) voidTraceMethodVisitor.visitLineNumber(int line, Label start) voidASMifierMethodVisitor.visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) voidCheckMethodAdapter.visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) voidTraceMethodVisitor.visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) voidASMifierMethodVisitor.visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) voidCheckMethodAdapter.visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) voidTraceMethodVisitor.visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) voidASMifierMethodVisitor.visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) voidCheckMethodAdapter.visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) voidTraceMethodVisitor.visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) voidASMifierMethodVisitor.visitTryCatchBlock(Label start, Label end, Label handler, String type) voidCheckMethodAdapter.visitTryCatchBlock(Label start, Label end, Label handler, String type) voidTraceMethodVisitor.visitTryCatchBlock(Label start, Label end, Label handler, String type) -
Uses of Label in org.objectweb.asm.xml
Methods in org.objectweb.asm.xml that return LabelMethods in org.objectweb.asm.xml with parameters of type LabelModifier and TypeMethodDescriptionfinal voidSAXCodeAdapter.visitJumpInsn(int opcode, Label label) final voidSAXCodeAdapter.visitLabel(Label label) final voidSAXCodeAdapter.visitLineNumber(int line, Label start) voidSAXCodeAdapter.visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) final voidSAXCodeAdapter.visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) final voidSAXCodeAdapter.visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) final voidSAXCodeAdapter.visitTryCatchBlock(Label start, Label end, Label handler, String type)