Package | Description |
---|---|
javassist.bytecode |
Bytecode-level API.
|
javassist.bytecode.stackmap | |
javassist.compiler | |
javassist.convert |
Modifier and Type | Field | Description |
---|---|---|
protected CodeAttribute |
CodeIterator.codeAttr |
Modifier and Type | Method | 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 | Description |
---|---|---|
void |
MethodInfo.setCodeAttribute(CodeAttribute cattr) |
Adds a Code attribute.
|
Constructor | Description |
---|---|
CodeIterator(CodeAttribute ca) |
Modifier and Type | Method | Description |
---|---|---|
static TypedBlock[] |
TypedBlock.makeBlocks(MethodInfo minfo,
CodeAttribute ca,
boolean optimize) |
Divides the method body into basic blocks.
|
Constructor | Description |
---|---|
MapMaker(ClassPool classes,
MethodInfo minfo,
CodeAttribute ca) |
Modifier and Type | Method | 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 | Description |
---|---|---|
void |
TransformBefore.initialize(ConstPool cp,
CodeAttribute attr) |
|
void |
TransformCall.initialize(ConstPool cp,
CodeAttribute attr) |
|
void |
Transformer.initialize(ConstPool cp,
CodeAttribute attr) |
|
void |
TransformFieldAccess.initialize(ConstPool cp,
CodeAttribute attr) |
|
void |
TransformNew.initialize(ConstPool cp,
CodeAttribute attr) |
|
void |
TransformNewClass.initialize(ConstPool cp,
CodeAttribute attr) |
Copyright © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.