Uses of Class
javassist.bytecode.CodeAttribute
-
Packages that use CodeAttribute Package Description javassist The Javassist Core API.javassist.bytecode Bytecode-level API.javassist.bytecode.stackmap javassist.compiler javassist.convert -
-
Uses of CodeAttribute in javassist
Methods in javassist with parameters of type CodeAttribute Modifier and Type Method Description (package private) int
CtBehavior. getStartPosOfBody(CodeAttribute ca)
(package private) int
CtConstructor. getStartPosOfBody(CodeAttribute ca)
private static void
CtClassType. insertAuxInitializer(CodeAttribute codeAttr, Bytecode initializer, int stacksize)
private static void
CtConstructor. removeConsCall(CodeAttribute ca)
-
Uses of CodeAttribute in javassist.bytecode
Fields in javassist.bytecode declared as CodeAttribute Modifier and Type Field Description private CodeAttribute
CodeAnalyzer. codeAttr
protected CodeAttribute
CodeIterator. codeAttr
Methods in javassist.bytecode that return CodeAttribute 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 aCodeAttribute
.Methods in javassist.bytecode with parameters of type CodeAttribute Modifier and Type Method 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<java.lang.String,java.lang.String> 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.Constructors in javassist.bytecode with parameters of type CodeAttribute Constructor Description CodeAnalyzer(CodeAttribute ca)
CodeAttribute(ConstPool cp, CodeAttribute src, java.util.Map<java.lang.String,java.lang.String> classnames)
Constructs a copy ofCode_attribute
.CodeIterator(CodeAttribute ca)
Pointers(int cur, int m, int m2, int m0, ExceptionTable et, CodeAttribute ca)
-
Uses of CodeAttribute in javassist.bytecode.stackmap
Methods in javassist.bytecode.stackmap with parameters of type CodeAttribute Modifier and Type Method Description static TypedBlock[]
TypedBlock. makeBlocks(MethodInfo minfo, CodeAttribute ca, boolean optimize)
Divides the method body into basic blocks.Constructors in javassist.bytecode.stackmap with parameters of type CodeAttribute Constructor Description MapMaker(ClassPool classes, MethodInfo minfo, CodeAttribute ca)
-
Uses of CodeAttribute in javassist.compiler
Methods in javassist.compiler with parameters of type CodeAttribute 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. -
Uses of CodeAttribute in javassist.convert
Methods in javassist.convert with parameters of type CodeAttribute 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)
-