Package | Description |
---|---|
clojure.asm |
Provides a small and fast bytecode manipulation framework.
|
Modifier and Type | Field and Description |
---|---|
(package private) Item[] |
ClassWriter.items
The constant pool's hash table data.
|
(package private) Item |
ClassWriter.key
A reusable key used to look for items in the
ClassWriter.items hash table. |
(package private) Item |
ClassWriter.key2
A reusable key used to look for items in the
ClassWriter.items hash table. |
(package private) Item |
ClassWriter.key3
A reusable key used to look for items in the
ClassWriter.items hash table. |
(package private) Item |
Item.next
Link to another constant pool item, used for collision lists in the
constant pool's hash table.
|
(package private) Item[] |
ClassWriter.typeTable
A type table used to temporarily store internal names that will not
necessarily be stored in the constant pool.
|
Modifier and Type | Method and Description |
---|---|
private Item |
ClassWriter.addType(Item item)
Adds the given Item to
ClassWriter.typeTable . |
private Item |
ClassWriter.get(Item key)
Returns the constant pool's hash table item which is equal to the given
item.
|
(package private) Item |
ClassWriter.newClassItem(java.lang.String value)
Adds a class reference to the constant pool of the class being build.
|
(package private) Item |
ClassWriter.newConstItem(java.lang.Object cst)
Adds a number or string constant to the constant pool of the class being
build.
|
(package private) Item |
ClassWriter.newDouble(double value)
Adds a double to the constant pool of the class being build.
|
(package private) Item |
ClassWriter.newFieldItem(java.lang.String owner,
java.lang.String name,
java.lang.String desc)
Adds a field reference to the constant pool of the class being build.
|
(package private) Item |
ClassWriter.newFloat(float value)
Adds a float to the constant pool of the class being build.
|
(package private) Item |
ClassWriter.newInteger(int value)
Adds an integer to the constant pool of the class being build.
|
(package private) Item |
ClassWriter.newLong(long value)
Adds a long to the constant pool of the class being build.
|
(package private) Item |
ClassWriter.newMethodItem(java.lang.String owner,
java.lang.String name,
java.lang.String desc,
boolean itf)
Adds a method reference to the constant pool of the class being build.
|
private Item |
ClassWriter.newString(java.lang.String value)
Adds a string to the constant pool of the class being build.
|
Modifier and Type | Method and Description |
---|---|
private Item |
ClassWriter.addType(Item item)
Adds the given Item to
ClassWriter.typeTable . |
(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.
|
private Item |
ClassWriter.get(Item key)
Returns the constant pool's hash table item which is equal to the given
item.
|
(package private) boolean |
Item.isEqualTo(Item i)
Indicates if the given item is equal to this one.
|
private void |
ClassWriter.put(Item i)
Puts the given item in the constant pool's hash table.
|
Constructor and Description |
---|
Item(int index,
Item i)
Constructs a copy of the given item.
|