Uses of Class
org.eclipse.sisu.space.asm.Label
Packages that use Label
-
Uses of Label in org.eclipse.sisu.space.asm
Fields in org.eclipse.sisu.space.asm declared as LabelModifier and TypeFieldDescriptionprivate Label
MethodWriter.currentBasicBlock
The current basic block, i.e.(package private) Label[]
The end of each local variable range in the current local variable annotation.(package private) Label[]
The start of each local variable range in the current local variable annotation.(package private) Label[]
Context.currentMethodLabels
The labels of the current method, indexed by bytecode offset (only bytecode offsets for which a label is needed have a non null associated Label).(package private) static final Label
Label.EMPTY_LIST
A sentinel element used to indicate the end of a list of labels.(package private) final Label
Handler.endPc
The end_pc field of this JVMS exception_table entry.private Label
MethodWriter.firstBasicBlock
The first basic block of the method.(package private) final Label
Handler.handlerPc
The handler_pc field of this JVMS exception_table entry.(package private) final Label
SymbolTable.LabelEntry.label
The value of this label entry.private Label
MethodWriter.lastBasicBlock
The last basic block of the method (in bytecode offset order).(package private) Label
Label.nextBasicBlock
The successor of this label, in the order they are visited inMethodVisitor.visitLabel(org.eclipse.sisu.space.asm.Label)
.(package private) Label
Label.nextListElement
The next element in the list of labels to which this label belongs, or null if it does not belong to any list.(package private) Label
Frame.owner
The basic block to which these input and output stack map frames correspond.(package private) final Label
Handler.startPc
The start_pc field of this JVMS exception_table entry.(package private) final Label
Edge.successor
The successor block of this control flow graph edge.Methods in org.eclipse.sisu.space.asm that return LabelModifier and TypeMethodDescriptionprivate Label
ClassReader.createLabel
(int bytecodeOffset, Label[] labels) Creates a label without theFLAG_DEBUG_ONLY
flag set, for the given bytecode offset.(package private) final Label
Label.getCanonicalInstance()
Returns the "canonical"Label
instance corresponding to this label's bytecode offset, if known, otherwise the label itself.(package private) Label
SymbolTable.getForwardUninitializedLabel
(int typeIndex) Returns the label corresponding to the "forward uninitialized" type table element whose index is given.protected Label[]
Attribute.getLabels()
Returns the labels corresponding to this attribute.private Label
Label.pushSuccessors
(Label listOfLabelsToProcess) Adds the successors of this label in the method's control flow graph (except those corresponding to a jsr target, and those already in a list of labels) to the given list of blocks to process, and returns the new list.protected Label
Returns the label corresponding to the given bytecode offset.Methods in org.eclipse.sisu.space.asm with parameters of type LabelModifier and TypeMethodDescription(package private) int
SymbolTable.addForwardUninitializedType
(String value, Label label) Adds a "forward uninitialized" type in the type table of this symbol table.(package private) final void
Label.addSubroutineRetSuccessors
(Label subroutineCaller) Finds the basic blocks that end a subroutine starting with the basic block corresponding to this label and, for each one of them, adds an outgoing edge to the basic block following the given subroutine call.private void
MethodWriter.addSuccessorToCurrentBasicBlock
(int info, Label successor) Adds a successor toMethodWriter.currentBasicBlock
in the control flow graph.private void
ClassReader.createDebugLabel
(int bytecodeOffset, Label[] labels) Creates a label with theFLAG_DEBUG_ONLY
flag set, if there is no already existing label for the given bytecode offset (otherwise does nothing).private Label
ClassReader.createLabel
(int bytecodeOffset, Label[] labels) Creates a label without theFLAG_DEBUG_ONLY
flag set, for the given bytecode offset.private SymbolTable.LabelEntry
SymbolTable.getOrAddLabelEntry
(Label label) Returns theSymbolTable.LabelEntry
corresponding to the given label.private Label
Label.pushSuccessors
(Label listOfLabelsToProcess) Adds the successors of this label in the method's control flow graph (except those corresponding to a jsr target, and those already in a list of labels) to the given list of blocks to process, and returns the new list.protected Attribute
Attribute.read
(ClassReader classReader, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) Reads aAttribute.type
attribute.private Attribute
ClassReader.readAttribute
(Attribute[] attributePrototypes, String type, int offset, int length, char[] charBuffer, int codeAttributeOffset, Label[] labels) Reads a non standard JVMS 'attribute' structure inClassReader.classFileBuffer
.protected Label
Returns the label corresponding to the given bytecode offset.private int
ClassReader.readVerificationTypeInfo
(int verificationTypeInfoOffset, Object[] frame, int index, char[] charBuffer, Label[] labels) Reads a JVMS 'verification_type_info' structure and stores it at the given index in the given array.(package private) static Handler
Handler.removeRange
(Handler firstHandler, Label start, Label end) Removes the range between start and end from the Handler list that begins with the given element.void
MethodVisitor.visitJumpInsn
(int opcode, Label label) Visits a jump instruction.void
MethodWriter.visitJumpInsn
(int opcode, Label label) void
MethodVisitor.visitLabel
(Label label) Visits a label.void
MethodWriter.visitLabel
(Label label) void
MethodVisitor.visitLineNumber
(int line, Label start) Visits a line number declaration.void
MethodWriter.visitLineNumber
(int line, Label start) void
MethodVisitor.visitLocalVariable
(String name, String descriptor, String signature, Label start, Label end, int index) Visits a local variable declaration.void
MethodWriter.visitLocalVariable
(String name, String descriptor, String signature, Label start, Label end, int index) MethodVisitor.visitLocalVariableAnnotation
(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String descriptor, boolean visible) Visits an annotation on a local variable type.MethodWriter.visitLocalVariableAnnotation
(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String descriptor, boolean visible) void
MethodVisitor.visitLookupSwitchInsn
(Label dflt, int[] keys, Label[] labels) Visits a LOOKUPSWITCH instruction.void
MethodWriter.visitLookupSwitchInsn
(Label dflt, int[] keys, Label[] labels) private void
MethodWriter.visitSwitchInsn
(Label dflt, Label[] labels) void
MethodVisitor.visitTableSwitchInsn
(int min, int max, Label dflt, Label... labels) Visits a TABLESWITCH instruction.void
MethodWriter.visitTableSwitchInsn
(int min, int max, Label dflt, Label... labels) void
MethodVisitor.visitTryCatchBlock
(Label start, Label end, Label handler, String type) Visits a try catch block.void
MethodWriter.visitTryCatchBlock
(Label start, Label end, Label handler, String type) Constructors in org.eclipse.sisu.space.asm with parameters of type LabelModifierConstructorDescription(package private)
CurrentFrame
(Label owner) (package private)
Constructs a new Edge.(package private)
Constructs a new Frame.(package private)
Constructs a new Handler from the given one, with a different scope.(package private)
Constructs a new Handler.(package private)
LabelEntry
(int index, Label label)