| Package | Description |
|---|---|
| com.googlecode.aviator.asm | |
| com.googlecode.aviator.asm.commons |
| 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.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected Attribute |
Attribute.read(ClassReader cr,
int off,
int len,
char[] buf,
int codeOff,
Label[] labels) |
Reads a
type 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(String name,
String desc,
String signature,
Label start,
Label end,
int index) |
Visits a local variable declaration.
|
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,
String type) |
Visits a try catch block.
|
| Modifier and Type | Method | Description |
|---|---|---|
Label |
GeneratorAdapter.mark() |
Marks the current code position with a new label.
|
Label |
GeneratorAdapter.newLabel() |
Creates a new
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 |
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) |
Copyright © 2022–2023. All rights reserved.