| Package | Description |
|---|---|
| javassist.bytecode |
Bytecode-level API.
|
| javassist.bytecode.stackmap | |
| javassist.compiler | |
| javassist.convert |
| Modifier and Type | Field and Description |
|---|---|
protected CodeAttribute |
CodeIterator.codeAttr |
| Modifier and Type | Method and Description |
|---|---|
CodeAttribute |
CodeIterator.get()
Returns a Code attribute read with this iterator.
|
CodeAttribute |
MethodInfo.getCodeAttribute()
Returns a Code attribute.
|
CodeAttribute |
Bytecode.toCodeAttribute()
Converts to a
CodeAttribute. |
| Modifier and Type | Method and Description |
|---|---|
void |
MethodInfo.setCodeAttribute(CodeAttribute cattr)
Adds a Code attribute.
|
| Constructor and Description |
|---|
CodeIterator(CodeAttribute ca) |
| Modifier and Type | Method and Description |
|---|---|
static TypedBlock[] |
TypedBlock.makeBlocks(MethodInfo minfo,
CodeAttribute ca,
boolean optimize)
Divides the method body into basic blocks.
|
| Constructor and Description |
|---|
MapMaker(ClassPool classes,
MethodInfo minfo,
CodeAttribute ca) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Javac.recordLocalVariables(CodeAttribute ca,
int pc)
Records local variables available at the specified program counter.
|
boolean |
Javac.recordParamNames(CodeAttribute ca,
int numOfLocalVars)
Records parameter names if the LocalVariableAttribute is available.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Transformer.initialize(ConstPool cp,
CodeAttribute attr) |
void |
TransformNew.initialize(ConstPool cp,
CodeAttribute attr) |
void |
TransformFieldAccess.initialize(ConstPool cp,
CodeAttribute attr) |
void |
TransformCall.initialize(ConstPool cp,
CodeAttribute attr) |
void |
TransformBefore.initialize(ConstPool cp,
CodeAttribute attr) |
void |
TransformNewClass.initialize(ConstPool cp,
CodeAttribute attr) |
Copyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.