|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ConstPool | |
---|---|
javassist | The Javassist Core API. |
javassist.bytecode | Bytecode-level API. |
javassist.bytecode.analysis | Bytecode Analysis API. |
javassist.bytecode.annotation | Bytecode-level Annotations API. |
javassist.bytecode.stackmap | |
javassist.convert | |
javassist.expr | This package contains the classes for modifying a method body. |
Uses of ConstPool in javassist |
---|
Methods in javassist with parameters of type ConstPool | |
---|---|
protected void |
CodeConverter.doit(CtClass clazz,
MethodInfo minfo,
ConstPool cp)
Performs code conversion. |
Uses of ConstPool in javassist.bytecode |
---|
Fields in javassist.bytecode declared as ConstPool | |
---|---|
protected ConstPool |
AttributeInfo.constPool
|
Methods in javassist.bytecode that return ConstPool | |
---|---|
ConstPool |
AttributeInfo.getConstPool()
Returns a constant pool table. |
ConstPool |
ClassFile.getConstPool()
Returns a constant pool table. |
ConstPool |
FieldInfo.getConstPool()
Returns the constant pool table used by this field_info . |
ConstPool |
MethodInfo.getConstPool()
Returns a constant pool table used by this method. |
ConstPool |
Bytecode.getConstPool()
Gets a constant pool table. |
Methods in javassist.bytecode with parameters of type ConstPool | |
---|---|
AttributeInfo |
InnerClassesAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
AttributeInfo |
AttributeInfo.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
AttributeInfo |
CodeAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
AttributeInfo |
ExceptionsAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
ExceptionTable |
ExceptionTable.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy of this exception_table[] . |
AttributeInfo |
StackMapTable.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
AttributeInfo |
LineNumberAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
AttributeInfo |
LocalVariableAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
AttributeInfo |
AnnotationDefaultAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Copies this attribute and returns a new copy. |
AttributeInfo |
AnnotationsAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Copies this attribute and returns a new copy. |
AttributeInfo |
ParameterAnnotationsAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Copies this attribute and returns a new copy. |
AttributeInfo |
SignatureAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
AttributeInfo |
DeprecatedAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
AttributeInfo |
SyntheticAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
AttributeInfo |
EnclosingMethodAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
AttributeInfo |
ConstantAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
AttributeInfo |
SourceFileAttribute.copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
int |
ConstPool.copy(int n,
ConstPool dest,
java.util.Map classnames)
Copies the n-th item in this ConstPool object into the destination ConstPool object. |
static java.lang.String |
InstructionPrinter.instructionString(CodeIterator iter,
int pos,
ConstPool pool)
|
StackMapTable |
StackMapTable.Writer.toStackMapTable(ConstPool cp)
Constructs and a return a stack map table containing the written stack map entries. |
Constructors in javassist.bytecode with parameters of type ConstPool | |
---|---|
AnnotationDefaultAttribute(ConstPool cp)
Constructs an empty AnnotationDefault_attribute . |
|
AnnotationDefaultAttribute(ConstPool cp,
byte[] info)
Constructs an AnnotationDefault_attribute . |
|
AnnotationsAttribute(ConstPool cp,
java.lang.String attrname)
Constructs an empty Runtime(In)VisisbleAnnotations_attribute . |
|
AnnotationsAttribute(ConstPool cp,
java.lang.String attrname,
byte[] info)
Constructs a Runtime(In)VisisbleAnnotations_attribute . |
|
AttributeInfo(ConstPool cp,
int attrname,
byte[] attrinfo)
|
|
AttributeInfo(ConstPool cp,
int n,
java.io.DataInputStream in)
|
|
AttributeInfo(ConstPool cp,
java.lang.String attrname)
|
|
AttributeInfo(ConstPool cp,
java.lang.String attrname,
byte[] attrinfo)
Constructs an attribute_info structure. |
|
Bytecode(ConstPool cp)
Constructs a Bytecode object with an empty bytecode
sequence. |
|
Bytecode(ConstPool cp,
int stacksize,
int localvars)
Constructs a Bytecode object with an empty bytecode
sequence. |
|
CodeAttribute(ConstPool cp,
int stack,
int locals,
byte[] code,
ExceptionTable etable)
Constructs a Code_attribute . |
|
ConstantAttribute(ConstPool cp,
int index)
Constructs a ConstantValue attribute. |
|
DeprecatedAttribute(ConstPool cp)
Constructs a Deprecated attribute. |
|
EnclosingMethodAttribute(ConstPool cp,
java.lang.String className)
Constructs an EnclosingMethod attribute. |
|
EnclosingMethodAttribute(ConstPool cp,
java.lang.String className,
java.lang.String methodName,
java.lang.String methodDesc)
Constructs an EnclosingMethod attribute. |
|
ExceptionsAttribute(ConstPool cp)
Constructs a new exceptions attribute. |
|
ExceptionTable(ConstPool cp)
Constructs an exception_table[] . |
|
FieldInfo(ConstPool cp,
java.lang.String fieldName,
java.lang.String desc)
Constructs a field_info structure. |
|
InnerClassesAttribute(ConstPool cp)
Constructs an empty InnerClasses attribute. |
|
LocalVariableAttribute(ConstPool cp)
Constructs an empty LocalVariableTable. |
|
LocalVariableAttribute(ConstPool cp,
java.lang.String name)
Deprecated. |
|
LocalVariableTypeAttribute(ConstPool cp)
Constructs an empty LocalVariableTypeTable. |
|
MethodInfo(ConstPool cp,
java.lang.String methodname,
MethodInfo src,
java.util.Map classnameMap)
Constructs a copy of method_info structure. |
|
MethodInfo(ConstPool cp,
java.lang.String methodname,
java.lang.String desc)
Constructs a method_info structure. |
|
ParameterAnnotationsAttribute(ConstPool cp,
java.lang.String attrname)
Constructs an empty Runtime(In)VisisbleParameterAnnotations_attribute . |
|
ParameterAnnotationsAttribute(ConstPool cp,
java.lang.String attrname,
byte[] info)
Constructs a Runtime(In)VisisbleParameterAnnotations_attribute . |
|
SignatureAttribute(ConstPool cp,
java.lang.String signature)
Constructs a Signature attribute. |
|
SourceFileAttribute(ConstPool cp,
java.lang.String filename)
Constructs a SourceFile attribute. |
|
SyntheticAttribute(ConstPool cp)
Constructs a Synthetic attribute. |
Uses of ConstPool in javassist.bytecode.analysis |
---|
Constructors in javassist.bytecode.analysis with parameters of type ConstPool | |
---|---|
Executor(ClassPool classPool,
ConstPool constPool)
|
Uses of ConstPool in javassist.bytecode.annotation |
---|
Methods in javassist.bytecode.annotation that return ConstPool | |
---|---|
ConstPool |
AnnotationsWriter.getConstPool()
Obtains the constant pool given to the constructor. |
Methods in javassist.bytecode.annotation with parameters of type ConstPool | |
---|---|
static MemberValue |
Annotation.createMemberValue(ConstPool cp,
CtClass type)
Makes an instance of MemberValue . |
Constructors in javassist.bytecode.annotation with parameters of type ConstPool | |
---|---|
Annotation(ConstPool cp,
CtClass clazz)
Constructs an annotation that can be accessed through the interface represented by clazz . |
|
Annotation(int type,
ConstPool cp)
Constructs an annotation including no members. |
|
Annotation(java.lang.String typeName,
ConstPool cp)
Constructs an annotation including no members. |
|
AnnotationMemberValue(Annotation a,
ConstPool cp)
Constructs an annotation member. |
|
AnnotationMemberValue(ConstPool cp)
Constructs an annotation member. |
|
AnnotationsWriter(java.io.OutputStream os,
ConstPool cp)
Constructs with the given output stream. |
|
ArrayMemberValue(ConstPool cp)
Constructs an array. |
|
ArrayMemberValue(MemberValue t,
ConstPool cp)
Constructs an array. |
|
BooleanMemberValue(boolean b,
ConstPool cp)
Constructs a boolean constant value. |
|
BooleanMemberValue(ConstPool cp)
Constructs a boolean constant value. |
|
BooleanMemberValue(int index,
ConstPool cp)
Constructs a boolean constant value. |
|
ByteMemberValue(byte b,
ConstPool cp)
Constructs a byte constant value. |
|
ByteMemberValue(ConstPool cp)
Constructs a byte constant value. |
|
ByteMemberValue(int index,
ConstPool cp)
Constructs a byte constant value. |
|
CharMemberValue(char c,
ConstPool cp)
Constructs a char constant value. |
|
CharMemberValue(ConstPool cp)
Constructs a char constant value. |
|
CharMemberValue(int index,
ConstPool cp)
Constructs a char constant value. |
|
ClassMemberValue(ConstPool cp)
Constructs a class value. |
|
ClassMemberValue(int index,
ConstPool cp)
Constructs a class value. |
|
ClassMemberValue(java.lang.String className,
ConstPool cp)
Constructs a class value. |
|
DoubleMemberValue(ConstPool cp)
Constructs a double constant value. |
|
DoubleMemberValue(double d,
ConstPool cp)
Constructs a double constant value. |
|
DoubleMemberValue(int index,
ConstPool cp)
Constructs a double constant value. |
|
EnumMemberValue(ConstPool cp)
Constructs an enum constant value. |
|
EnumMemberValue(int type,
int value,
ConstPool cp)
Constructs an enum constant value. |
|
FloatMemberValue(ConstPool cp)
Constructs a float constant value. |
|
FloatMemberValue(float f,
ConstPool cp)
Constructs a float constant value. |
|
FloatMemberValue(int index,
ConstPool cp)
Constructs a float constant value. |
|
IntegerMemberValue(ConstPool cp)
Constructs an int constant value. |
|
IntegerMemberValue(ConstPool cp,
int value)
Constructs an int constant value. |
|
IntegerMemberValue(int index,
ConstPool cp)
Constructs an int constant value. |
|
LongMemberValue(ConstPool cp)
Constructs a long constant value. |
|
LongMemberValue(int index,
ConstPool cp)
Constructs a long constant value. |
|
LongMemberValue(long j,
ConstPool cp)
Constructs a long constant value. |
|
ShortMemberValue(ConstPool cp)
Constructs a short constant value. |
|
ShortMemberValue(int index,
ConstPool cp)
Constructs a short constant value. |
|
ShortMemberValue(short s,
ConstPool cp)
Constructs a short constant value. |
|
StringMemberValue(ConstPool cp)
Constructs a string constant value. |
|
StringMemberValue(int index,
ConstPool cp)
Constructs a string constant value. |
|
StringMemberValue(java.lang.String str,
ConstPool cp)
Constructs a string constant value. |
Uses of ConstPool in javassist.bytecode.stackmap |
---|
Fields in javassist.bytecode.stackmap declared as ConstPool | |
---|---|
protected ConstPool |
Tracer.cpool
|
Methods in javassist.bytecode.stackmap with parameters of type ConstPool | |
---|---|
abstract int |
TypeData.getTypeData(ConstPool cp)
|
int |
TypeData.BasicType.getTypeData(ConstPool cp)
|
int |
TypeData.TypeName.getTypeData(ConstPool cp)
|
int |
TypeData.UninitData.getTypeData(ConstPool cp)
|
int |
TypeData.UninitThis.getTypeData(ConstPool cp)
|
protected int |
TypeData.TypeName.getTypeData2(ConstPool cp,
java.lang.String type)
|
protected int |
TypeData.NullType.getTypeData2(ConstPool cp,
java.lang.String type)
|
Constructors in javassist.bytecode.stackmap with parameters of type ConstPool | |
---|---|
Tracer(ClassPool classes,
ConstPool cp,
int maxStack,
int maxLocals,
java.lang.String retType)
|
Uses of ConstPool in javassist.convert |
---|
Fields in javassist.convert declared as ConstPool | |
---|---|
protected ConstPool |
TransformCall.constPool
|
Methods in javassist.convert with parameters of type ConstPool | |
---|---|
void |
Transformer.initialize(ConstPool cp,
CodeAttribute attr)
|
void |
TransformCall.initialize(ConstPool cp,
CodeAttribute attr)
|
void |
TransformFieldAccess.initialize(ConstPool cp,
CodeAttribute attr)
|
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,
CtClass clazz,
MethodInfo minfo)
|
void |
TransformAccessArrayField.initialize(ConstPool cp,
CtClass clazz,
MethodInfo minfo)
|
protected void |
TransformBefore.makeCode(CtClass[] paramTypes,
ConstPool cp)
|
protected int |
TransformCall.match(int c,
int pos,
CodeIterator iterator,
int typedesc,
ConstPool cp)
|
protected int |
TransformBefore.match(int c,
int pos,
CodeIterator iterator,
int typedesc,
ConstPool cp)
|
abstract int |
Transformer.transform(CtClass clazz,
int pos,
CodeIterator it,
ConstPool cp)
|
int |
TransformCall.transform(CtClass clazz,
int pos,
CodeIterator iterator,
ConstPool cp)
Modify INVOKEINTERFACE, INVOKESPECIAL, INVOKESTATIC and INVOKEVIRTUAL so that a different method is invoked. |
int |
TransformFieldAccess.transform(CtClass clazz,
int pos,
CodeIterator iterator,
ConstPool cp)
Modify GETFIELD, GETSTATIC, PUTFIELD, and PUTSTATIC so that a different field is accessed. |
int |
TransformAccessArrayField.transform(CtClass tclazz,
int pos,
CodeIterator iterator,
ConstPool cp)
|
int |
TransformNewClass.transform(CtClass clazz,
int pos,
CodeIterator iterator,
ConstPool cp)
Modifies a sequence of NEW classname DUP ... |
int |
TransformReadField.transform(CtClass tclazz,
int pos,
CodeIterator iterator,
ConstPool cp)
|
int |
TransformWriteField.transform(CtClass tclazz,
int pos,
CodeIterator iterator,
ConstPool cp)
|
int |
TransformNew.transform(CtClass clazz,
int pos,
CodeIterator iterator,
ConstPool cp)
Replace a sequence of NEW classname DUP ... |
Uses of ConstPool in javassist.expr |
---|
Methods in javassist.expr that return ConstPool | |
---|---|
protected ConstPool |
Expr.getConstPool()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |