Uses of Class
javassist.bytecode.ConstPool
Package
Description
Bytecode-level API.
Bytecode Analysis API.
Bytecode-level Annotations API.
-
Uses of ConstPool in javassist.bytecode
Modifier and TypeMethodDescriptionAttributeInfo.getConstPool()
Returns a constant pool table.Bytecode.getConstPool()
Gets a constant pool table.ClassFile.getConstPool()
Returns a constant pool table.FieldInfo.getConstPool()
Returns the constant pool table used by thisfield_info
.MethodInfo.getConstPool()
Returns a constant pool table used by this method.Modifier and TypeMethodDescriptionCopies this attribute and returns a new copy.Copies this attribute and returns a new copy.Makes a copy.Makes a copy.Makes a copy.Makes a copy.int
Copies the n-th item in this ConstPool object into the destination ConstPool object.Makes a copy.Makes a copy.Makes a copy.Makes a copy of thisexception_table[]
.Makes a copy.Makes a copy.Makes a copy.Makes a copy.Makes a copy.Makes a copy.Copies this attribute and returns a new copy.Makes a copy.Makes a copy.Makes a copy.Makes a copy.Makes a copy.Copies this attribute and returns a new copy.static String
InstructionPrinter.instructionString
(CodeIterator iter, int pos, ConstPool pool) Gets a string representation of the bytecode instruction at the specified position.StackMap.Writer.toStackMap
(ConstPool cp) Converts to aStackMap
attribute.StackMapTable.Writer.toStackMapTable
(ConstPool cp) Constructs and a return a stack map table containing the written stack map entries.ModifierConstructorDescriptionConstructs an emptyAnnotationDefault_attribute
.AnnotationDefaultAttribute
(ConstPool cp, byte[] info) Constructs anAnnotationDefault_attribute
.AnnotationsAttribute
(ConstPool cp, String attrname) Constructs an emptyRuntime(In)VisibleAnnotations_attribute
.AnnotationsAttribute
(ConstPool cp, String attrname, byte[] info) Constructs aRuntime(In)VisibleAnnotations_attribute
.AttributeInfo
(ConstPool cp, String attrname, byte[] attrinfo) Constructs anattribute_info
structure.Constructs a BootstrapMethods attribute.Constructs aBytecode
object with an empty bytecode sequence.Constructs aBytecode
object with an empty bytecode sequence.CodeAttribute
(ConstPool cp, int stack, int locals, byte[] code, ExceptionTable etable) Constructs aCode_attribute
.ConstantAttribute
(ConstPool cp, int index) Constructs a ConstantValue attribute.Constructs a Deprecated attribute.EnclosingMethodAttribute
(ConstPool cp, String className) Constructs an EnclosingMethod attribute.EnclosingMethodAttribute
(ConstPool cp, String className, String methodName, String methodDesc) Constructs an EnclosingMethod attribute.Constructs a new exceptions attribute.Constructs anexception_table[]
.Constructs afield_info
structure.Constructs an empty InnerClasses attribute.Constructs an empty LocalVariableTable.LocalVariableAttribute
(ConstPool cp, String name) Deprecated.Constructs an empty LocalVariableTypeTable.MethodInfo
(ConstPool cp, String methodname, String desc) Constructs amethod_info
structure.MethodInfo
(ConstPool cp, String methodname, MethodInfo src, Map<String, String> classnameMap) Constructs a copy ofmethod_info
structure.MethodParametersAttribute
(ConstPool cp, String[] names, int[] flags) Constructs an attribute.ParameterAnnotationsAttribute
(ConstPool cp, String attrname) Constructs an emptyRuntime(In)VisibleParameterAnnotations_attribute
.ParameterAnnotationsAttribute
(ConstPool cp, String attrname, byte[] info) Constructs aRuntime(In)VisibleParameterAnnotations_attribute
.SignatureAttribute
(ConstPool cp, String signature) Constructs aSignature
attribute.SourceFileAttribute
(ConstPool cp, String filename) Constructs a SourceFile attribute.Constructs a Synthetic attribute.TypeAnnotationsAttribute
(ConstPool cp, String attrname, byte[] info) Constructs aRuntime(In)VisibleTypeAnnotations_attribute
. -
Uses of ConstPool in javassist.bytecode.analysis
-
Uses of ConstPool in javassist.bytecode.annotation
Modifier and TypeMethodDescriptionAnnotationsWriter.getConstPool()
Obtains the constant pool given to the constructor.Modifier and TypeMethodDescriptionstatic MemberValue
Annotation.createMemberValue
(ConstPool cp, CtClass type) Makes an instance ofMemberValue
.ModifierConstructorDescriptionAnnotation
(int type, ConstPool cp) Constructs an annotation including no members.Annotation
(String typeName, ConstPool cp) Constructs an annotation including no members.Annotation
(ConstPool cp, CtClass clazz) Constructs an annotation that can be accessed through the interface represented byclazz
.Constructs an annotation member.Constructs an annotation member.AnnotationsWriter
(OutputStream os, ConstPool cp) Constructs with the given output stream.ArrayMemberValue
(MemberValue t, ConstPool cp) Constructs an array.Constructs an array.BooleanMemberValue
(boolean b, ConstPool cp) Constructs a boolean constant value.BooleanMemberValue
(int index, ConstPool cp) Constructs a boolean constant value.Constructs a boolean constant value.ByteMemberValue
(byte b, ConstPool cp) Constructs a byte constant value.ByteMemberValue
(int index, ConstPool cp) Constructs a byte constant value.Constructs a byte constant value.CharMemberValue
(char c, ConstPool cp) Constructs a char constant value.CharMemberValue
(int index, ConstPool cp) Constructs a char constant value.Constructs a char constant value.ClassMemberValue
(int index, ConstPool cp) Constructs a class value.ClassMemberValue
(String className, ConstPool cp) Constructs a class value.Constructs a class value.DoubleMemberValue
(double d, ConstPool cp) Constructs a double constant value.DoubleMemberValue
(int index, ConstPool cp) Constructs a double constant value.Constructs a double constant value.EnumMemberValue
(int type, int value, ConstPool cp) Constructs an enum constant value.Constructs an enum constant value.FloatMemberValue
(float f, ConstPool cp) Constructs a float constant value.FloatMemberValue
(int index, ConstPool cp) Constructs a float constant value.Constructs a float constant value.IntegerMemberValue
(int index, ConstPool cp) Constructs an int constant value.Constructs an int constant value.IntegerMemberValue
(ConstPool cp, int value) Constructs an int constant value.LongMemberValue
(int index, ConstPool cp) Constructs a long constant value.LongMemberValue
(long j, ConstPool cp) Constructs a long constant value.Constructs a long constant value.ShortMemberValue
(int index, ConstPool cp) Constructs a short constant value.ShortMemberValue
(short s, ConstPool cp) Constructs a short constant value.Constructs a short constant value.StringMemberValue
(int index, ConstPool cp) Constructs a string constant value.StringMemberValue
(String str, ConstPool cp) Constructs a string constant value.Constructs a string constant value.Constructs with the given output stream.