Package | Description |
---|---|
clojure.asm |
Provides a small and fast bytecode manipulation framework.
|
clojure.asm.commons |
Provides some useful class and method adapters.
|
clojure.lang |
Modifier and Type | Class and Description |
---|---|
class |
ClassAdapter
An empty
ClassVisitor that delegates to another ClassVisitor . |
class |
ClassWriter
A
ClassVisitor that generates classes in bytecode form. |
Modifier and Type | Field and Description |
---|---|
protected ClassVisitor |
ClassAdapter.cv
The
ClassVisitor to which this adapter delegates calls. |
Modifier and Type | Method and Description |
---|---|
void |
ClassReader.accept(ClassVisitor classVisitor,
Attribute[] attrs,
int flags)
Makes the given visitor visit the Java class of this
ClassReader . |
void |
ClassReader.accept(ClassVisitor classVisitor,
int flags)
Makes the given visitor visit the Java class of this
ClassReader . |
Constructor and Description |
---|
ClassAdapter(ClassVisitor cv)
Constructs a new
ClassAdapter object. |
Modifier and Type | Class and Description |
---|---|
class |
EmptyVisitor
An empty implementation of the ASM visitor interfaces.
|
class |
SerialVersionUIDAdder
A
ClassAdapter that adds a serial version unique identifier to a
class if missing. |
class |
StaticInitMerger
A
ClassAdapter that merges clinit methods into a single one. |
Constructor and Description |
---|
GeneratorAdapter(int access,
Method method,
java.lang.String signature,
Type[] exceptions,
ClassVisitor cv)
Creates a new
GeneratorAdapter . |
SerialVersionUIDAdder(ClassVisitor cv)
Creates a new
SerialVersionUIDAdder . |
StaticInitMerger(java.lang.String prefix,
ClassVisitor cv) |
Modifier and Type | Method and Description |
---|---|
void |
Compiler.FnMethod.doEmit(Compiler.ObjExpr fn,
ClassVisitor cv) |
void |
Compiler.FnMethod.doEmitPrim(Compiler.ObjExpr fn,
ClassVisitor cv) |
void |
Compiler.FnMethod.doEmitStatic(Compiler.ObjExpr fn,
ClassVisitor cv) |
void |
Compiler.FnMethod.emit(Compiler.ObjExpr fn,
ClassVisitor cv) |
void |
Compiler.ObjMethod.emit(Compiler.ObjExpr fn,
ClassVisitor cv) |
void |
Compiler.NewInstanceMethod.emit(Compiler.ObjExpr obj,
ClassVisitor cv) |
protected void |
Compiler.FnExpr.emitMethods(ClassVisitor cv) |
protected void |
Compiler.ObjExpr.emitMethods(ClassVisitor gen) |
protected void |
Compiler.NewInstanceExpr.emitMethods(ClassVisitor cv) |
protected void |
Compiler.ObjExpr.emitStatics(ClassVisitor gen) |
protected void |
Compiler.NewInstanceExpr.emitStatics(ClassVisitor cv) |