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 | Class and Description |
---|---|
class |
MethodAdapter
An empty
MethodVisitor that delegates to another
MethodVisitor . |
(package private) class |
MethodWriter
A
MethodVisitor that generates methods in bytecode form. |
Modifier and Type | Field and Description |
---|---|
protected MethodVisitor |
MethodAdapter.mv
The
MethodVisitor to which this adapter delegates calls. |
Modifier and Type | Method and Description |
---|---|
MethodVisitor |
ClassWriter.visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions) |
MethodVisitor |
ClassVisitor.visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions)
Visits a method of the class.
|
MethodVisitor |
ClassAdapter.visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions) |
Modifier and Type | Method and Description |
---|---|
private void |
ClassReader.readParameterAnnotations(int v,
char[] buf,
boolean visible,
MethodVisitor mv)
Reads parameter annotations and makes the given visitor visit them.
|
Constructor and Description |
---|
MethodAdapter(MethodVisitor mv)
Constructs a new
MethodAdapter object. |
Modifier and Type | Class and Description |
---|---|
class |
AdviceAdapter
A
MethodAdapter to insert before, after and around
advices in methods and constructors. |
class |
AnalyzerAdapter
A
MethodAdapter that keeps track of stack map frame changes between
visitFrame calls. |
class |
CodeSizeEvaluator
A
MethodAdapter that can be used to approximate method size. |
class |
EmptyVisitor
An empty implementation of the ASM visitor interfaces.
|
class |
GeneratorAdapter
A
MethodAdapter with convenient methods to generate
code. |
class |
LocalVariablesSorter
A
MethodAdapter that renumbers local variables in their order of
appearance. |
Modifier and Type | Field and Description |
---|---|
private MethodVisitor |
StaticInitMerger.clinit |
Modifier and Type | Method and Description |
---|---|
MethodVisitor |
StaticInitMerger.visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions) |
MethodVisitor |
SerialVersionUIDAdder.visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions) |
MethodVisitor |
EmptyVisitor.visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions) |
Constructor and Description |
---|
AdviceAdapter(MethodVisitor mv,
int access,
java.lang.String name,
java.lang.String desc)
Creates a new
AdviceAdapter . |
AnalyzerAdapter(java.lang.String owner,
int access,
java.lang.String name,
java.lang.String desc,
MethodVisitor mv)
Creates a new
AnalyzerAdapter . |
CodeSizeEvaluator(MethodVisitor mv) |
GeneratorAdapter(int access,
Method method,
MethodVisitor mv)
Creates a new
GeneratorAdapter . |
GeneratorAdapter(MethodVisitor mv,
int access,
java.lang.String name,
java.lang.String desc)
Creates a new
GeneratorAdapter . |
LocalVariablesSorter(int access,
java.lang.String desc,
MethodVisitor mv)
Creates a new
LocalVariablesSorter . |