Package | Description |
---|---|
clojure.asm |
Provides a small and fast bytecode manipulation framework.
|
clojure.asm.commons |
Provides some useful class and method adapters.
|
Modifier and Type | Method and Description |
---|---|
protected Label[] |
Attribute.getLabels()
Returns the labels corresponding to this attribute.
|
Modifier and Type | Method and Description |
---|---|
protected Attribute |
Attribute.read(ClassReader cr,
int off,
int len,
char[] buf,
int codeOff,
Label[] labels)
Reads a
type attribute. |
void |
MethodVisitor.visitJumpInsn(int opcode,
Label label)
Visits a jump instruction.
|
void |
MethodAdapter.visitJumpInsn(int opcode,
Label label) |
void |
MethodVisitor.visitLabel(Label label)
Visits a label.
|
void |
MethodAdapter.visitLabel(Label label) |
void |
MethodVisitor.visitLineNumber(int line,
Label start)
Visits a line number declaration.
|
void |
MethodAdapter.visitLineNumber(int line,
Label start) |
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.
|
void |
MethodAdapter.visitLocalVariable(java.lang.String name,
java.lang.String desc,
java.lang.String signature,
Label start,
Label end,
int index) |
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.
|
void |
MethodAdapter.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
MethodAdapter.visitLookupSwitchInsn(Label dflt,
int[] keys,
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 |
MethodAdapter.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
MethodAdapter.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
MethodVisitor.visitTryCatchBlock(Label start,
Label end,
Label handler,
java.lang.String type)
Visits a try catch block.
|
void |
MethodAdapter.visitTryCatchBlock(Label start,
Label end,
Label handler,
java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
Label |
GeneratorAdapter.mark()
Marks the current code position with a new label.
|
Label |
GeneratorAdapter.newLabel()
Creates a new
Label . |
Modifier and Type | Method and 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 |
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 |
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 |
GeneratorAdapter.ifNonNull(Label label)
Generates the instruction to jump to the given label if the top stack
value is not null.
|
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 |
GeneratorAdapter.mark(Label label)
Marks the current code position with the given label.
|
void |
EmptyVisitor.visitJumpInsn(int opcode,
Label label) |
void |
CodeSizeEvaluator.visitJumpInsn(int opcode,
Label label) |
void |
AnalyzerAdapter.visitJumpInsn(int opcode,
Label label) |
void |
AdviceAdapter.visitJumpInsn(int opcode,
Label label) |
void |
EmptyVisitor.visitLabel(Label label) |
void |
AnalyzerAdapter.visitLabel(Label label) |
void |
AdviceAdapter.visitLabel(Label label) |
void |
EmptyVisitor.visitLineNumber(int line,
Label start) |
void |
LocalVariablesSorter.visitLocalVariable(java.lang.String name,
java.lang.String desc,
java.lang.String signature,
Label start,
Label end,
int index) |
void |
EmptyVisitor.visitLocalVariable(java.lang.String name,
java.lang.String desc,
java.lang.String signature,
Label start,
Label end,
int index) |
void |
EmptyVisitor.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
EmptyVisitor.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
CodeSizeEvaluator.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
CodeSizeEvaluator.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
AnalyzerAdapter.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
AnalyzerAdapter.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
AdviceAdapter.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
AdviceAdapter.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
EmptyVisitor.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
EmptyVisitor.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
CodeSizeEvaluator.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
CodeSizeEvaluator.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
AnalyzerAdapter.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
AnalyzerAdapter.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
AdviceAdapter.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
AdviceAdapter.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
EmptyVisitor.visitTryCatchBlock(Label start,
Label end,
Label handler,
java.lang.String type) |