| Package | Description |
|---|---|
| xapi.bytecode |
| Modifier and Type | Field and Description |
|---|---|
protected ConstPool |
AttributeInfo.constPool |
| Modifier and Type | Method and Description |
|---|---|
ConstPool |
MethodInfo.getConstPool()
Returns a constant pool table used by this method.
|
ConstPool |
ClassFile.getConstPool()
Returns a constant pool table.
|
ConstPool |
FieldInfo.getConstPool()
Returns the constant pool table used
by this
field_info. |
ConstPool |
AttributeInfo.getConstPool()
Returns a constant pool table.
|
ConstPool |
AnnotationsWriter.getConstPool()
Obtains the constant pool given to the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeInfo |
AnnotationsAttribute.copy(ConstPool newCp,
Map<?,?> classnames)
Copies this attribute and returns a new copy.
|
AttributeInfo |
AnnotationDefaultAttribute.copy(ConstPool newCp,
Map<?,?> classnames)
Copies this attribute and returns a new copy.
|
AttributeInfo |
ParameterAnnotationsAttribute.copy(ConstPool newCp,
Map<?,?> classnames)
Copies this attribute and returns a new copy.
|
AttributeInfo |
InnerClassesAttribute.copy(ConstPool newCp,
Map<?,?> classnames)
Makes a copy.
|
AttributeInfo |
SignatureAttribute.copy(ConstPool newCp,
Map<?,?> classnames)
Makes a copy.
|
AttributeInfo |
ConstantAttribute.copy(ConstPool newCp,
Map<?,?> classnames)
Makes a copy.
|
AttributeInfo |
AttributeInfo.copy(ConstPool newCp,
Map<?,?> classnames)
Makes a copy.
|
int |
ConstPool.copy(int n,
ConstPool dest,
Map<?,?> classnames)
Copies the n-th item in this ConstPool object into the destination
ConstPool object.
|
static MemberValue |
Annotation.createMemberValue(ConstPool cp,
CtClass type)
Makes an instance of
MemberValue. |
| Constructor and Description |
|---|
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(String typeName,
ConstPool cp)
Constructs an annotation including no members.
|
AnnotationDefaultAttribute(ConstPool cp)
Constructs an empty
AnnotationDefault_attribute. |
AnnotationDefaultAttribute(ConstPool cp,
byte[] info)
Constructs an
AnnotationDefault_attribute. |
AnnotationsAttribute(ConstPool cp,
String attrname)
Constructs an empty
Runtime(In)VisibleAnnotations_attribute. |
AnnotationsAttribute(ConstPool cp,
String attrname,
byte[] info)
Constructs a
Runtime(In)VisibleAnnotations_attribute. |
AnnotationsWriter(OutputStream os,
ConstPool cp)
Constructs with the given output stream.
|
ArrayMemberValue(ConstPool cp)
Constructs an array.
|
ArrayMemberValue(MemberValue t,
ConstPool cp)
Constructs an array.
|
AttributeInfo(ConstPool cp,
int attrname,
byte[] attrinfo) |
AttributeInfo(ConstPool cp,
int n,
DataInputStream in) |
AttributeInfo(ConstPool cp,
String attrname) |
AttributeInfo(ConstPool cp,
String attrname,
byte[] attrinfo)
Constructs an
attribute_info structure. |
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(String className,
ConstPool cp)
Constructs a class value.
|
ConstantAttribute(ConstPool cp,
int index)
Constructs a ConstantValue attribute.
|
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.
|
FieldInfo(ConstPool cp,
String fieldName,
String desc)
Constructs a
field_info structure. |
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.
|
InnerClassesAttribute(ConstPool cp)
Constructs an empty InnerClasses attribute.
|
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.
|
MethodInfo(ConstPool cp,
String methodname,
MethodInfo src,
Map<?,?> classnameMap)
Constructs a copy of
method_info structure. |
MethodInfo(ConstPool cp,
String methodname,
String desc)
Constructs a
method_info structure. |
ParameterAnnotationsAttribute(ConstPool cp,
String attrname)
Constructs an empty
Runtime(In)VisibleParameterAnnotations_attribute. |
ParameterAnnotationsAttribute(ConstPool cp,
String attrname,
byte[] info)
Constructs
a
Runtime(In)VisibleParameterAnnotations_attribute. |
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.
|
SignatureAttribute(ConstPool cp,
String signature)
Constructs a Signature attribute.
|
StringMemberValue(ConstPool cp)
Constructs a string constant value.
|
StringMemberValue(int index,
ConstPool cp)
Constructs a string constant value.
|
StringMemberValue(String str,
ConstPool cp)
Constructs a string constant value.
|
Copyright © 2012-2013 The Internet Party. All Rights Reserved.