Package | Description |
---|---|
clojure.asm |
Provides a small and fast bytecode manipulation framework.
|
Modifier and Type | Field and Description |
---|---|
private ByteVector |
MethodWriter.annd
The annotation default attribute of this method.
|
private ByteVector |
AnnotationWriter.bv
The annotation values in bytecode form.
|
private ByteVector |
MethodWriter.code
The bytecode of this method.
|
private ByteVector |
ClassWriter.innerClasses
The InnerClasses attribute.
|
private ByteVector |
MethodWriter.lineNumber
The LineNumberTable attribute.
|
private ByteVector |
MethodWriter.localVar
The LocalVariableTable attribute.
|
private ByteVector |
MethodWriter.localVarType
The LocalVariableTypeTable attribute.
|
private ByteVector |
AnnotationWriter.parent
The byte vector to be used to store the number of values of this
annotation.
|
(package private) ByteVector |
ClassWriter.pool
The constant pool of this class.
|
private ByteVector |
ClassWriter.sourceDebug
The SourceDebug attribute of this class.
|
private ByteVector |
MethodWriter.stackMap
The StackMapTable attribute.
|
Modifier and Type | Method and Description |
---|---|
(package private) ByteVector |
ByteVector.put11(int b1,
int b2)
Puts two bytes into this byte vector.
|
(package private) ByteVector |
ByteVector.put12(int b,
int s)
Puts a byte and a short into this byte vector.
|
ByteVector |
ByteVector.putByte(int b)
Puts a byte into this byte vector.
|
ByteVector |
ByteVector.putByteArray(byte[] b,
int off,
int len)
Puts an array of bytes into this byte vector.
|
ByteVector |
ByteVector.putInt(int i)
Puts an int into this byte vector.
|
ByteVector |
ByteVector.putLong(long l)
Puts a long into this byte vector.
|
ByteVector |
ByteVector.putShort(int s)
Puts a short into this byte vector.
|
ByteVector |
ByteVector.putUTF8(java.lang.String s)
Puts an UTF8 string into this byte vector.
|
protected ByteVector |
Attribute.write(ClassWriter cw,
byte[] code,
int len,
int maxStack,
int maxLocals)
Returns the byte array form of this attribute.
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
AnnotationWriter.put(AnnotationWriter[] panns,
ByteVector out)
Puts the given annotation lists into the given byte vector.
|
(package private) void |
MethodWriter.put(ByteVector out)
Puts the bytecode of this method in the given byte vector.
|
(package private) void |
FieldWriter.put(ByteVector out)
Puts the content of this field into the given byte vector.
|
(package private) void |
AnnotationWriter.put(ByteVector out)
Puts the annotations of this annotation writer list into the given byte
vector.
|
(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.
|
(package private) void |
Label.put(MethodWriter owner,
ByteVector out,
int source,
boolean wideOffset)
Puts a reference to this label in the bytecode of a method.
|
Constructor and Description |
---|
AnnotationWriter(ClassWriter cw,
boolean named,
ByteVector bv,
ByteVector parent,
int offset)
Constructs a new
AnnotationWriter . |