Package | Description |
---|---|
clojure.asm |
Provides a small and fast bytecode manipulation framework.
|
clojure.lang |
Modifier and Type | Field and Description |
---|---|
(package private) ClassWriter |
MethodWriter.cw
The class writer to which this method must be added.
|
private ClassWriter |
FieldWriter.cw
The class writer to which this field must be added.
|
private ClassWriter |
AnnotationWriter.cw
The class writer to which this annotation must be added.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
ClassReader.copyPool(ClassWriter classWriter)
Copies the constant pool data into the given
ClassWriter . |
(package private) void |
Frame.execute(int opcode,
int arg,
ClassWriter cw,
Item item)
Simulates the action of the given instruction on the output stack frame.
|
(package private) int |
Attribute.getSize(ClassWriter cw,
byte[] code,
int len,
int maxStack,
int maxLocals)
Returns the size of all the attributes in this attribute list.
|
private int |
Frame.init(ClassWriter cw,
int t)
Replaces the given type with the appropriate type if it is one of the
types on which a constructor is invoked in the basic block.
|
(package private) void |
Frame.initInputFrame(ClassWriter cw,
int access,
Type[] args,
int maxLocals)
Initializes the input frame of the first basic block from the method
descriptor.
|
(package private) boolean |
Frame.merge(ClassWriter cw,
Frame frame,
int edge)
Merges the input frame of the given basic block with the input and output
frames of this basic block.
|
private boolean |
Frame.merge(ClassWriter cw,
int t,
int[] types,
int index)
Merges the type at the given index in the given type array with the given
type.
|
private void |
Frame.push(ClassWriter cw,
java.lang.String desc)
Pushes a new type onto the output frame stack.
|
(package private) void |
Attribute.put(ClassWriter cw,
byte[] code,
int len,
int maxStack,
int maxLocals,
ByteVector out)
Writes all the attributes of this attribute list in the given byte
vector.
|
private int |
Frame.type(ClassWriter cw,
java.lang.String desc)
Returns the int encoding of the given type.
|
protected ByteVector |
Attribute.write(ClassWriter cw,
byte[] code,
int len,
int maxStack,
int maxLocals)
Returns the byte array form of this attribute.
|
Constructor and Description |
---|
AnnotationWriter(ClassWriter cw,
boolean named,
ByteVector bv,
ByteVector parent,
int offset)
Constructs a new
AnnotationWriter . |
FieldWriter(ClassWriter cw,
int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.Object value)
Constructs a new
FieldWriter . |
MethodWriter(ClassWriter cw,
int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions,
boolean computeMaxs,
boolean computeFrames)
Constructs a new
MethodWriter . |
Modifier and Type | Method and Description |
---|---|
(package private) void |
Compiler.SourceDebugExtensionAttribute.writeSMAP(ClassWriter cw,
java.lang.String smap) |