Uses of Class
com.googlecode.aviator.asm.Label
Packages that use Label
Package
Description
-
Uses of Label in com.googlecode.aviator.asm
Fields in com.googlecode.aviator.asm declared as LabelModifier and TypeFieldDescriptionprivate Label
MethodWriter.currentBlock
The current basic block.(package private) Label
Handler.end
End of the exception handler's scope (exclusive).(package private) Label
Handler.handler
Beginning of the exception handler's code.private Label
MethodWriter.labels
A list of labels.(package private) Label
Label.next
The next basic block in the basic block stack.(package private) Label
Frame.owner
The label (i.e.private Label
MethodWriter.previousBlock
The previous basic block.(package private) Label
Handler.start
Beginning of the exception handler's scope (inclusive).(package private) Label
Edge.successor
The successor block of the basic block from which this edge originates.(package private) Label
Label.successor
The successor of this label, in the order they are visited.Methods in com.googlecode.aviator.asm that return LabelModifier and TypeMethodDescription(package private) Label
Label.getFirst()
Returns the first label of the series to which this label belongs.protected Label[]
Attribute.getLabels()
Returns the labels corresponding to this attribute.protected Label
Returns the label corresponding to the given offset.Methods in com.googlecode.aviator.asm with parameters of type LabelModifier and TypeMethodDescriptionprivate void
MethodWriter.addSuccessor
(int info, Label successor) Adds a successor to thecurrentBlock
block.(package private) static void
MethodWriter.getNewOffset
(int[] indexes, int[] sizes, Label label) Updates the offset of the given label.(package private) boolean
Label.inSameSubroutine
(Label block) Returns true if this basic block and the given one belong to a common subroutine.protected Attribute
Attribute.read
(ClassReader cr, int off, int len, char[] buf, int codeOff, Label[] labels) Reads atype
attribute.private Attribute
ClassReader.readAttribute
(Attribute[] attrs, String type, int off, int len, char[] buf, int codeOff, Label[] labels) Reads an attribute inb
.private int
Reads a stack map frame and stores the result in the givenContext
object.private int
ClassReader.readFrameType
(Object[] frame, int index, int v, char[] buf, Label[] labels) Reads a stack map frame type and stores it at the given index in the given array.protected Label
Returns the label corresponding to the given offset.(package private) static Handler
Removes the range between start and end from the given exception handlers.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 desc, String signature, Label start, Label end, int index) Visits a local variable declaration.void
MethodWriter.visitLocalVariable
(String name, String desc, String signature, Label start, Label end, int index) void
MethodVisitor.visitLookupSwitchInsn
(Label dflt, int[] keys, Label[] labels) Visits a LOOKUPSWITCH instruction.void
MethodWriter.visitLookupSwitchInsn
(Label dflt, int[] keys, Label[] labels) (package private) void
Label.visitSubroutine
(Label JSR, long id, int nbSubroutines) Finds the basic blocks that belong to a given subroutine, and marks these blocks as belonging to this subroutine.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) -
Uses of Label in com.googlecode.aviator.asm.commons
Fields in com.googlecode.aviator.asm.commons with type parameters of type LabelModifier and TypeFieldDescriptionAdviceAdapter.branches
AnalyzerAdapter.labels
The labels that designate the next instruction to be visited.Methods in com.googlecode.aviator.asm.commons that return LabelModifier and TypeMethodDescriptionGeneratorAdapter.mark()
Marks the current code position with a new label.GeneratorAdapter.newLabel()
Creates a newLabel
.Methods in com.googlecode.aviator.asm.commons with parameters of type LabelModifier and TypeMethodDescriptionprivate void
private void
AdviceAdapter.addBranches
(Label dflt, Label[] labels) 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
Generates the instruction to jump to the given label.void
void
void
void
Generates the instructions to jump to a label based on the comparison of the top two stack values.void
void
void
void
Generates the instructions to jump to a label based on the comparison of the top two integer stack values.void
void
void
void
void
void
void
void
void
void
void
Generates the instruction to jump to the given label if the top stack value is not null.void
void
Generates the instruction to jump to the given label if the top stack value is null.void
Generates the instructions to jump to a label based on the comparison of the top integer stack value with zero.void
void
InstructionAdapter.lookupswitch
(Label dflt, int[] keys, Label[] labels) void
Marks the current code position with the given label.void
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
AdviceAdapter.visitLabel
(Label label) void
AnalyzerAdapter.visitLabel
(Label label) void
InstructionAdapter.visitLabel
(Label label) void
LocalVariablesSorter.visitLocalVariable
(String name, String desc, String signature, Label start, Label end, int index) 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, String type) -
Uses of Label in com.googlecode.aviator.code.asm
Fields in com.googlecode.aviator.code.asm declared as LabelModifier and TypeFieldDescriptionprivate Label
ASMCodeGenerator.currentLabel
private static final Label
ASMCodeGenerator.START_LABEL
Fields in com.googlecode.aviator.code.asm with type parameters of type LabelModifier and TypeFieldDescriptionASMCodeGenerator.l0stack
Label stack for ternary operatorASMCodeGenerator.l1stack
ASMCodeGenerator.labelNameIndexMap
Methods in com.googlecode.aviator.code.asm that return LabelModifier and TypeMethodDescriptionprivate Label
ASMCodeGenerator.makeLabel()
Make a labelprivate Label
ASMCodeGenerator.peekLabel0()
private Label
ASMCodeGenerator.peekLabel1()
private Label
ASMCodeGenerator.popLabel0()
private Label
ASMCodeGenerator.popLabel1()
Methods in com.googlecode.aviator.code.asm with parameters of type LabelModifier and TypeMethodDescriptionprivate void
ASMCodeGenerator.pushLabel0
(Label l0) private void
ASMCodeGenerator.pushLabel1
(Label l1) private void
ASMCodeGenerator.visitLabel
(Label label)