Package | Description |
---|---|
javassist |
The Javassist Core API.
|
javassist.bytecode |
Bytecode-level API.
|
javassist.bytecode.stackmap | |
javassist.compiler | |
javassist.convert |
Modifier and Type | Method and Description |
---|---|
(package private) int |
CtConstructor.getStartPosOfBody(CodeAttribute ca) |
(package private) int |
CtBehavior.getStartPosOfBody(CodeAttribute ca) |
private static void |
CtClassType.insertAuxInitializer(CodeAttribute codeAttr,
Bytecode initializer,
int stacksize) |
private static void |
CtConstructor.removeConsCall(CodeAttribute ca) |
Modifier and Type | Field and Description |
---|---|
private CodeAttribute |
CodeAnalyzer.codeAttr |
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 |
---|---|
(package private) static byte[] |
CodeIterator.changeLdcToLdcW(byte[] code,
ExceptionTable etable,
CodeAttribute ca,
CodeAttribute.LdcEntry ldcs) |
private byte[] |
CodeAttribute.copyCode(ConstPool destCp,
java.util.Map classnames,
ExceptionTable etable,
CodeAttribute destCa)
Copies code.
|
(package private) static byte[] |
CodeAttribute.LdcEntry.doit(byte[] code,
CodeAttribute.LdcEntry ldc,
ExceptionTable etable,
CodeAttribute ca) |
private void |
CodeAnalyzer.initStack(int[] stack,
CodeAttribute ca) |
(package private) static byte[] |
CodeIterator.insertGapCore0(byte[] code,
int where,
int gapLength,
boolean exclusive,
ExceptionTable etable,
CodeAttribute ca)
insertGapCore0() inserts a gap (some NOPs).
|
private byte[] |
CodeIterator.insertGapCore0w(byte[] code,
int where,
int gapLength,
boolean exclusive,
ExceptionTable etable,
CodeAttribute ca,
CodeIterator.Gap newWhere) |
private static byte[] |
CodeIterator.insertGapCore1(byte[] code,
int where,
int gapLength,
boolean exclusive,
ExceptionTable etable,
CodeAttribute ca) |
void |
MethodInfo.setCodeAttribute(CodeAttribute cattr)
Adds a Code attribute.
|
Constructor and Description |
---|
CodeAnalyzer(CodeAttribute ca) |
CodeAttribute(ConstPool cp,
CodeAttribute src,
java.util.Map classnames)
Constructs a copy of
Code_attribute . |
CodeIterator(CodeAttribute ca) |
Pointers(int cur,
int m,
int m0,
ExceptionTable et,
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 |
TransformNewClass.initialize(ConstPool cp,
CodeAttribute attr) |
void |
TransformBefore.initialize(ConstPool cp,
CodeAttribute attr) |
void |
TransformNew.initialize(ConstPool cp,
CodeAttribute attr) |
void |
Transformer.initialize(ConstPool cp,
CodeAttribute attr) |
void |
TransformCall.initialize(ConstPool cp,
CodeAttribute attr) |
void |
TransformFieldAccess.initialize(ConstPool cp,
CodeAttribute attr) |