Package | Description |
---|---|
org.eclipse.sisu.space.asm |
Modifier and Type | Field and Description |
---|---|
private Label |
MethodWriter.currentBlock
The current basic block.
|
(package private) Label |
Handler.end
End of the exception handler's scope (exclusive).
|
(package private) Label[] |
Context.end
The labels corresponding to the end of the local variable ranges in the
local variable type annotation currently being parsed.
|
(package private) Label |
Handler.handler
Beginning of the exception handler's code.
|
private Label |
MethodWriter.labels
A list of labels.
|
(package private) Label[] |
Context.labels
The label objects, indexed by bytecode offset, of the method currently
being parsed (only bytecode offsets for which a label is needed have a
non null associated Label object).
|
(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[] |
Context.start
The labels corresponding to the start of the local variable ranges in the
local variable type annotation currently being parsed.
|
(package private) Label |
Label.successor
The successor of this label, in the order they are visited.
|
(package private) Label |
Edge.successor
The successor block of the basic block from which this edge originates.
|
Modifier and Type | Method and Description |
---|---|
(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 |
ClassReader.readLabel(int offset,
Label[] labels)
Returns the label corresponding to the given offset.
|
Modifier and Type | Method and Description |
---|---|
private void |
MethodWriter.addSuccessor(int info,
Label successor)
Adds a successor to the
currentBlock 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 a
type attribute. |
private Attribute |
ClassReader.readAttribute(Attribute[] attrs,
java.lang.String type,
int off,
int len,
char[] buf,
int codeOff,
Label[] labels)
Reads an attribute in
b . |
private int |
ClassReader.readFrameType(java.lang.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 |
ClassReader.readLabel(int offset,
Label[] labels)
Returns the label corresponding to the given offset.
|
(package private) static Handler |
Handler.remove(Handler h,
Label start,
Label end)
Removes the range between start and end from the given exception
handlers.
|
void |
MethodWriter.visitJumpInsn(int opcode,
Label label) |
void |
MethodVisitor.visitJumpInsn(int opcode,
Label label)
Visits a jump instruction.
|
void |
MethodWriter.visitLabel(Label label) |
void |
MethodVisitor.visitLabel(Label label)
Visits a label.
|
void |
MethodWriter.visitLineNumber(int line,
Label start) |
void |
MethodVisitor.visitLineNumber(int line,
Label start)
Visits a line number declaration.
|
void |
MethodWriter.visitLocalVariable(java.lang.String name,
java.lang.String desc,
java.lang.String signature,
Label start,
Label end,
int index) |
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 |
MethodWriter.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
java.lang.String desc,
boolean visible) |
AnnotationVisitor |
MethodWriter.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
java.lang.String desc,
boolean visible) |
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.
|
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 |
MethodWriter.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
MethodWriter.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
MethodVisitor.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels)
Visits a LOOKUPSWITCH instruction.
|
void |
MethodVisitor.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels)
Visits a LOOKUPSWITCH instruction.
|
(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) |
private void |
MethodWriter.visitSwitchInsn(Label dflt,
Label[] labels) |
void |
MethodWriter.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label... labels) |
void |
MethodWriter.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label... labels) |
void |
MethodVisitor.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label... labels)
Visits a TABLESWITCH instruction.
|
void |
MethodVisitor.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label... labels)
Visits a TABLESWITCH instruction.
|
void |
MethodWriter.visitTryCatchBlock(Label start,
Label end,
Label handler,
java.lang.String type) |
void |
MethodVisitor.visitTryCatchBlock(Label start,
Label end,
Label handler,
java.lang.String type)
Visits a try catch block.
|