| Package | Description |
|---|---|
| bsh.org.objectweb.asm |
Provides a small and fast bytecode manipulation framework.
|
| Modifier and Type | Method and Description |
|---|---|
static Attribute |
Attribute.read(Attribute attribute,
ClassReader classReader,
int offset,
int length,
char[] charBuffer,
int codeAttributeOffset,
Label[] labels)
Reads an attribute with the same
Attribute.type as the given attribute. |
protected Attribute |
Attribute.read(ClassReader classReader,
int offset,
int length,
char[] charBuffer,
int codeAttributeOffset,
Label[] labels)
Reads a
Attribute.type attribute. |
static Label |
Attribute.readLabel(ClassReader classReader,
int bytecodeOffset,
Label[] labels)
Returns the label corresponding to the given bytecode offset by calling
readLabel(int, bsh.org.objectweb.asm.Label[]). |
| Constructor and Description |
|---|
ClassWriter(ClassReader classReader,
int flags)
Constructs a new
ClassWriter object and enables optimizations for "mostly add" bytecode
transformations. |