Uses of Class
javassist.bytecode.CodeAttribute
Packages that use CodeAttribute
Package
Description
The Javassist Core API.
Bytecode-level API.
-
Uses of CodeAttribute in javassist
Methods in javassist with parameters of type CodeAttributeModifier and TypeMethodDescription(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 CodeAttributeModifier and TypeFieldDescriptionprivate CodeAttribute
CodeAnalyzer.codeAttr
protected CodeAttribute
CodeIterator.codeAttr
Methods in javassist.bytecode that return CodeAttributeModifier and TypeMethodDescriptionCodeIterator.get()
Returns a Code attribute read with this iterator.MethodInfo.getCodeAttribute()
Returns a Code attribute.Bytecode.toCodeAttribute()
Converts to aCodeAttribute
.Methods in javassist.bytecode with parameters of type CodeAttributeModifier and TypeMethodDescription(package private) static byte[]
CodeIterator.changeLdcToLdcW
(byte[] code, ExceptionTable etable, CodeAttribute ca, CodeAttribute.LdcEntry ldcs) private byte[]
CodeAttribute.copyCode
(ConstPool destCp, Map<String, 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 CodeAttributeModifierConstructorDescriptionprivate
CodeAttribute
(ConstPool cp, CodeAttribute src, Map<String, String> classnames) Constructs a copy ofCode_attribute
.protected
(package private)
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 CodeAttributeModifier and TypeMethodDescriptionstatic 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 -
Uses of CodeAttribute in javassist.compiler
Methods in javassist.compiler with parameters of type CodeAttributeModifier and TypeMethodDescriptionboolean
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 CodeAttributeModifier and TypeMethodDescriptionvoid
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)