Top Description Inners Fields Constructors Methods
javassist.bytecode

public Class AnnotationsAttribute

extends AttributeInfo
Class Inheritance
Imports
java.io.ByteArrayOutputStream, .DataInputStream, .IOException, java.util.HashMap, .Map, javassist.bytecode.annotation.Annotation, .AnnotationMemberValue, .AnnotationsWriter, .ArrayMemberValue, .BooleanMemberValue, .ByteMemberValue, .CharMemberValue, .ClassMemberValue, .DoubleMemberValue, .EnumMemberValue, .FloatMemberValue, .IntegerMemberValue, .LongMemberValue, .MemberValue, .ShortMemberValue, .StringMemberValue

A class representing RuntimeVisibleAnnotations_attribute and RuntimeInvisibleAnnotations_attribute.

To obtain an AnnotationAttribute object, invoke getAttribute(AnnotationsAttribute.visibleTag) in ClassFile, MethodInfo, or FieldInfo. The obtained attribute is a runtime visible annotations attribute. If the parameter is AnnotationAttribute.invisibleTag, then the obtained attribute is a runtime invisible one.

For example,

import javassist.bytecode.annotation.Annotation;
   :
CtMethod m = ... ;
MethodInfo minfo = m.getMethodInfo();
AnnotationsAttribute attr = (AnnotationsAttribute)
        minfo.getAttribute(AnnotationsAttribute.invisibleTag);
Annotation an = attr.getAnnotation("Author");
String s = ((StringMemberValue)an.getMemberValue("name")).getValue();
System.out.println("@Author(name=" + s + ")");

This code snippet retrieves an annotation of the type Author from the MethodInfo object specified by minfo. Then, it prints the value of name in Author.

If the annotation type Author is annotated by a meta annotation:

@Retention(RetentionPolicy.RUNTIME)

Then Author is visible at runtime. Therefore, the third statement of the code snippet above must be changed into:

AnnotationsAttribute attr = (AnnotationsAttribute)
        minfo.getAttribute(AnnotationsAttribute.visibleTag);

The attribute tag must be visibleTag instead of invisibleTag.

If the member value of an annotation is not specified, the default value is used as that member value. If so, getMemberValue() in Annotation returns null since the default value is not included in the AnnotationsAttribute. It is included in the AnnotationDefaultAttribute of the method declared in the annotation type.

If you want to record a new AnnotationAttribute object, execute the following snippet:

ClassFile cf = ... ;
ConstPool cp = cf.getConstPool();
AnnotationsAttribute attr
    = new AnnotationsAttribute(cp, AnnotationsAttribute.visibleTag);
Annotation a = new Annotation("Author", cp);
a.addMemberValue("name", new StringMemberValue("Chiba", cp));
attr.setAnnotation(a);
cf.addAttribute(attr);
cf.setVersionToJava5();

The last statement is necessary if the class file was produced by javac of JDK 1.4 or earlier. Otherwise, it is not necessary.

See Also
AnnotationDefaultAttribute, javassist.bytecode.annotation.Annotation

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class
pack-priv static class
pack-priv static class

Field Summary

Modifier and TypeField and Description
public static final String
invisibleTag

The name of the RuntimeInvisibleAnnotations attribute.

public static final String
visibleTag

The name of the RuntimeVisibleAnnotations attribute.

Inherited from javassist.bytecode.AttributeInfo:
constPoolinfoname

Constructor Summary

AccessConstructor and Description
public
AnnotationsAttribute(ConstPool
constant pool
cp
,
String
attribute name (visibleTag or invisibleTag).
attrname
,
byte[]
the contents of this attribute. It does not include attribute_name_index or attribute_length.
info
)

Constructs a Runtime(In)VisibleAnnotations_attribute.

public
AnnotationsAttribute(ConstPool
constant pool
cp
,
String
attribute name (visibleTag or invisibleTag).
attrname
)

Constructs an empty Runtime(In)VisibleAnnotations_attribute.

pack-priv
AnnotationsAttribute(ConstPool cp, int
the attribute name.
n
,
DataInputStream in)

Method Summary

Modifier and TypeMethod and Description
public void
addAnnotation(Annotation
the added annotation.
annotation
)

Adds an annotation.

public AttributeInfo
copy(ConstPool
the constant pool table used by the new copy.
newCp
,
Map<String, String>
pairs of replaced and substituted class names.
classnames
)

Overrides javassist.bytecode.AttributeInfo.copy.

Copies this attribute and returns a new copy.

public Annotation

Returns:

null if the specified annotation type is not included.
getAnnotation
(String
the annotation type.
type
)

Parses the annotations and returns a data structure representing the annotation with the specified type.

public Annotation[]
getAnnotations()

Parses the annotations and returns a data structure representing that parsed annotations.

pack-priv void
public int
numAnnotations()

Returns num_annotations.

public boolean

Returns:

whether an annotation with the given type has been removed
removeAnnotation
(String
of annotation to remove
type
)

Removes an annotation by type.

pack-priv void
renameClass(String
a JVM class name.
oldname
,
String
a JVM class name.
newname
)

Overrides javassist.bytecode.AttributeInfo.renameClass.

pack-priv void
public void
setAnnotation(Annotation
the data structure representing the new annotation.
annotation
)

Changes the annotations.

public void
setAnnotations(Annotation[]
the data structure representing the new annotations.
annotations
)

Changes the annotations represented by this object according to the given array of Annotation objects.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of this object.

Inherited from javassist.bytecode.AttributeInfo:
copyAllgetgetConstPoolgetLengthgetNamegetRefClasseslengthlookupreadremoverenameClassrenameClasssetwritewriteAll

Field Detail

invisibleTagback to summary
public static final String invisibleTag

The name of the RuntimeInvisibleAnnotations attribute.

visibleTagback to summary
public static final String visibleTag

The name of the RuntimeVisibleAnnotations attribute.

Constructor Detail

AnnotationsAttributeback to summary
public AnnotationsAttribute(ConstPool cp, String attrname, byte[] info)

Constructs a Runtime(In)VisibleAnnotations_attribute.

Parameters
cp:ConstPool

constant pool

attrname:String

attribute name (visibleTag or invisibleTag).

info:byte[]

the contents of this attribute. It does not include attribute_name_index or attribute_length.

AnnotationsAttributeback to summary
public AnnotationsAttribute(ConstPool cp, String attrname)

Constructs an empty Runtime(In)VisibleAnnotations_attribute. A new annotation can be later added to the created attribute by setAnnotations().

Parameters
cp:ConstPool

constant pool

attrname:String

attribute name (visibleTag or invisibleTag).

See Also
setAnnotations(Annotation[])
AnnotationsAttributeback to summary
pack-priv AnnotationsAttribute(ConstPool cp, int n, DataInputStream in) throws IOException
Parameters
n:int

the attribute name.

Method Detail

addAnnotationback to summary
public void addAnnotation(Annotation annotation)

Adds an annotation. If there is an annotation with the same type, it is removed before the new annotation is added.

Parameters
annotation:Annotation

the added annotation.

copyback to summary
public AttributeInfo copy(ConstPool newCp, Map<String, String> classnames)

Overrides javassist.bytecode.AttributeInfo.copy.

Copies this attribute and returns a new copy.

Parameters
newCp:ConstPool

Doc from javassist.bytecode.AttributeInfo.copy.

the constant pool table used by the new copy.

classnames:Map<String, String>

Doc from javassist.bytecode.AttributeInfo.copy.

pairs of replaced and substituted class names.

Annotations
@Override
getAnnotationback to summary
public Annotation getAnnotation(String type)

Parses the annotations and returns a data structure representing the annotation with the specified type. See also getAnnotations() as to the returned data structure.

Parameters
type:String

the annotation type.

Returns:Annotation

null if the specified annotation type is not included.

See Also
getAnnotations()
getAnnotationsback to summary
public Annotation[] getAnnotations()

Parses the annotations and returns a data structure representing that parsed annotations. Note that changes of the node values of the returned tree are not reflected on the annotations represented by this object unless the tree is copied back to this object by setAnnotations().

See Also
setAnnotations(Annotation[])
getRefClassesback to summary
pack-priv void getRefClasses(Map<String, String> classnames)

Overrides javassist.bytecode.AttributeInfo.getRefClasses.

Annotations
@Override
numAnnotationsback to summary
public int numAnnotations()

Returns num_annotations.

removeAnnotationback to summary
public boolean removeAnnotation(String type)

Removes an annotation by type. After removing an annotation, if numAnnotations() returns 0, this annotations attribute has to be removed.

Parameters
type:String

of annotation to remove

Returns:boolean

whether an annotation with the given type has been removed

Since
3.21
renameClassback to summary
pack-priv void renameClass(String oldname, String newname)

Overrides javassist.bytecode.AttributeInfo.renameClass.

Parameters
oldname:String

a JVM class name.

newname:String

a JVM class name.

Annotations
@Override
renameClassback to summary
pack-priv void renameClass(Map<String, String> classnames)

Overrides javassist.bytecode.AttributeInfo.renameClass.

Annotations
@Override
setAnnotationback to summary
public void setAnnotation(Annotation annotation)

Changes the annotations. A call to this method is equivalent to:

setAnnotations(new Annotation[] { annotation })
Parameters
annotation:Annotation

the data structure representing the new annotation.

setAnnotationsback to summary
public void setAnnotations(Annotation[] annotations)

Changes the annotations represented by this object according to the given array of Annotation objects.

Parameters
annotations:Annotation[]

the data structure representing the new annotations.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns a string representation of this object.

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object

Annotations
@Override
javassist.bytecode back to summary

pack-priv Class AnnotationsAttribute.Copier

extends Walker
Class Inheritance
Known Direct Subclasses
javassist.bytecode.TypeAnnotationsAttribute.Copier

Field Summary

Modifier and TypeField and Description
pack-priv Map<String, String>
pack-priv ConstPool
pack-priv ByteArrayOutputStream
pack-priv ConstPool
pack-priv AnnotationsWriter
Inherited from javassist.bytecode.AnnotationsAttribute.Walker:
info

Constructor Summary

AccessConstructor and Description
pack-priv
Copier(byte[]
the source attribute.
info
,
ConstPool
the constant pool of the source class.
src
,
ConstPool
the constant pool of the destination class.
dest
,
Map<String, String>
pairs of replaced and substituted class names. It can be null.
map
)

Constructs a copier.

pack-priv
Copier(byte[] info, ConstPool src, ConstPool dest, Map<String, String> map, boolean makeWriter)

Method Summary

Modifier and TypeMethod and Description
pack-priv int
annotation(int pos, int type, int numPairs)

Overrides javassist.bytecode.AnnotationsAttribute.Walker.annotation.

pack-priv int
pack-priv int
pack-priv int
pack-priv void
pack-priv byte[]
pack-priv void
pack-priv int

Returns:

the index of the copied item into the destination constant pool.
copy
(int
the index of the copied entry into the source constant pool.
srcIndex
)

Copies a constant pool entry into the destination constant pool and returns the index of the copied entry.

pack-priv int

Returns:

the index of the copied item into the destination constant pool.
copyType
(int
the index of the copied entry into the source constant pool.
srcIndex
)

Copies a constant pool entry into the destination constant pool and returns the index of the copied entry.

pack-priv void
enumMemberValue(int pos, int typeNameIndex, int constNameIndex)

Overrides javassist.bytecode.AnnotationsAttribute.Walker.enumMemberValue.

enum_const_value

pack-priv int
memberValuePair(int pos, int nameIndex)

Overrides javassist.bytecode.AnnotationsAttribute.Walker.memberValuePair.

element_value_paris[]

pack-priv void
Inherited from javassist.bytecode.AnnotationsAttribute.Walker:
annotationannotationArrayannotationArraymemberValuememberValuePairparameters

Field Detail

classnamesback to summary
pack-priv Map<String, String> classnames
destPoolback to summary
pack-priv ConstPool destPool
outputback to summary
pack-priv ByteArrayOutputStream output
srcPoolback to summary
pack-priv ConstPool srcPool
writerback to summary
pack-priv AnnotationsWriter writer

Constructor Detail

Copierback to summary
pack-priv Copier(byte[] info, ConstPool src, ConstPool dest, Map<String, String> map)

Constructs a copier. This copier renames some class names into the new names specified by map when it copies an annotation attribute.

Parameters
info:byte[]

the source attribute.

src:ConstPool

the constant pool of the source class.

dest:ConstPool

the constant pool of the destination class.

map:Map<String, String>

pairs of replaced and substituted class names. It can be null.

Copierback to summary
pack-priv Copier(byte[] info, ConstPool src, ConstPool dest, Map<String, String> map, boolean makeWriter)

Method Detail

annotationback to summary
pack-priv int annotation(int pos, int type, int numPairs) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.annotation.

Annotations
@Override
annotationArrayback to summary
pack-priv int annotationArray(int pos, int num) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.annotationArray.

Annotations
@Override
annotationMemberValueback to summary
pack-priv int annotationMemberValue(int pos) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.annotationMemberValue.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.annotationMemberValue.

annotation_value

Annotations
@Override
arrayMemberValueback to summary
pack-priv int arrayMemberValue(int pos, int num) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.arrayMemberValue.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.arrayMemberValue.

array_value

Annotations
@Override
classMemberValueback to summary
pack-priv void classMemberValue(int pos, int index) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.classMemberValue.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.classMemberValue.

class_info_index

Annotations
@Override
closeback to summary
pack-priv byte[] close() throws IOException
constValueMemberback to summary
pack-priv void constValueMember(int tag, int index) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.constValueMember.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.constValueMember.

const_value_index

Annotations
@Override
copyback to summary
pack-priv int copy(int srcIndex)

Copies a constant pool entry into the destination constant pool and returns the index of the copied entry.

Parameters
srcIndex:int

the index of the copied entry into the source constant pool.

Returns:int

the index of the copied item into the destination constant pool.

copyTypeback to summary
pack-priv int copyType(int srcIndex)

Copies a constant pool entry into the destination constant pool and returns the index of the copied entry. That entry must be a Utf8Info representing a class name in the L; form.

Parameters
srcIndex:int

the index of the copied entry into the source constant pool.

Returns:int

the index of the copied item into the destination constant pool.

enumMemberValueback to summary
pack-priv void enumMemberValue(int pos, int typeNameIndex, int constNameIndex) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.enumMemberValue.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.enumMemberValue.

enum_const_value

Annotations
@Override
memberValuePairback to summary
pack-priv int memberValuePair(int pos, int nameIndex) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.memberValuePair.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.memberValuePair.

element_value_paris[]

Annotations
@Override
parametersback to summary
pack-priv void parameters(int numParam, int pos) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.parameters.

Annotations
@Override
javassist.bytecode back to summary

pack-priv Class AnnotationsAttribute.Parser

extends Walker
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv Annotation[]
pack-priv Annotation[][]
pack-priv Annotation
pack-priv MemberValue
pack-priv ConstPool
Inherited from javassist.bytecode.AnnotationsAttribute.Walker:
info

Constructor Summary

AccessConstructor and Description
pack-priv
Parser(byte[]
the attribute.
info
,
ConstPool
the constant pool.
cp
)

Constructs a parser.

Method Summary

Modifier and TypeMethod and Description
pack-priv int
annotation(int pos, int type, int numPairs)

Overrides javassist.bytecode.AnnotationsAttribute.Walker.annotation.

pack-priv int
pack-priv int
pack-priv int
pack-priv void
pack-priv void
pack-priv void
enumMemberValue(int pos, int typeNameIndex, int constNameIndex)

Overrides javassist.bytecode.AnnotationsAttribute.Walker.enumMemberValue.

enum_const_value

pack-priv int
memberValuePair(int pos, int nameIndex)

Overrides javassist.bytecode.AnnotationsAttribute.Walker.memberValuePair.

element_value_paris[]

pack-priv void
pack-priv Annotation[]
pack-priv MemberValue
pack-priv Annotation[][]
Inherited from javassist.bytecode.AnnotationsAttribute.Walker:
annotationannotationArrayannotationArraymemberValuememberValuePairparameters

Field Detail

allAnnoback to summary
pack-priv Annotation[] allAnno
allParamsback to summary
pack-priv Annotation[][] allParams
currentAnnoback to summary
pack-priv Annotation currentAnno
currentMemberback to summary
pack-priv MemberValue currentMember
poolback to summary
pack-priv ConstPool pool

Constructor Detail

Parserback to summary
pack-priv Parser(byte[] info, ConstPool cp)

Constructs a parser. This parser constructs a parse tree of the annotations.

Parameters
info:byte[]

the attribute.

cp:ConstPool

the constant pool.

Method Detail

annotationback to summary
pack-priv int annotation(int pos, int type, int numPairs) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.annotation.

Annotations
@Override
annotationArrayback to summary
pack-priv int annotationArray(int pos, int num) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.annotationArray.

Annotations
@Override
annotationMemberValueback to summary
pack-priv int annotationMemberValue(int pos) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.annotationMemberValue.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.annotationMemberValue.

annotation_value

Annotations
@Override
arrayMemberValueback to summary
pack-priv int arrayMemberValue(int pos, int num) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.arrayMemberValue.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.arrayMemberValue.

array_value

Annotations
@Override
classMemberValueback to summary
pack-priv void classMemberValue(int pos, int index) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.classMemberValue.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.classMemberValue.

class_info_index

Annotations
@Override
constValueMemberback to summary
pack-priv void constValueMember(int tag, int index) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.constValueMember.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.constValueMember.

const_value_index

Annotations
@Override
enumMemberValueback to summary
pack-priv void enumMemberValue(int pos, int typeNameIndex, int constNameIndex) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.enumMemberValue.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.enumMemberValue.

enum_const_value

Annotations
@Override
memberValuePairback to summary
pack-priv int memberValuePair(int pos, int nameIndex) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.memberValuePair.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.memberValuePair.

element_value_paris[]

Annotations
@Override
parametersback to summary
pack-priv void parameters(int numParam, int pos) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.parameters.

Annotations
@Override
parseAnnotationsback to summary
pack-priv Annotation[] parseAnnotations() throws Exception
parseMemberValueback to summary
pack-priv MemberValue parseMemberValue() throws Exception
parseParametersback to summary
pack-priv Annotation[][] parseParameters() throws Exception
javassist.bytecode back to summary

pack-priv Class AnnotationsAttribute.Renamer

extends Walker
Class Inheritance
Known Direct Subclasses
javassist.bytecode.TypeAnnotationsAttribute.Renamer

Field Summary

Modifier and TypeField and Description
pack-priv Map<String, String>
pack-priv ConstPool
Inherited from javassist.bytecode.AnnotationsAttribute.Walker:
info

Constructor Summary

AccessConstructor and Description
pack-priv
Renamer(byte[]
the annotations attribute.
info
,
ConstPool
the constant pool.
cp
,
Map<String, String>
pairs of replaced and substituted class names. It can be null.
map
)

Constructs a renamer.

Method Summary

Modifier and TypeMethod and Description
pack-priv int
annotation(int pos, int type, int numPairs)

Overrides javassist.bytecode.AnnotationsAttribute.Walker.annotation.

pack-priv void
pack-priv void
enumMemberValue(int pos, int typeNameIndex, int constNameIndex)

Overrides javassist.bytecode.AnnotationsAttribute.Walker.enumMemberValue.

enum_const_value

private void
renameType(int pos, int index)

Inherited from javassist.bytecode.AnnotationsAttribute.Walker:
annotationannotationArrayannotationArrayannotationArrayannotationMemberValuearrayMemberValueconstValueMembermemberValuememberValuePairmemberValuePairparametersparameters

Field Detail

classnamesback to summary
pack-priv Map<String, String> classnames
cpoolback to summary
pack-priv ConstPool cpool

Constructor Detail

Renamerback to summary
pack-priv Renamer(byte[] info, ConstPool cp, Map<String, String> map)

Constructs a renamer. It renames some class names into the new names specified by map.

Parameters
info:byte[]

the annotations attribute.

cp:ConstPool

the constant pool.

map:Map<String, String>

pairs of replaced and substituted class names. It can be null.

Method Detail

annotationback to summary
pack-priv int annotation(int pos, int type, int numPairs) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.annotation.

Annotations
@Override
classMemberValueback to summary
pack-priv void classMemberValue(int pos, int index) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.classMemberValue.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.classMemberValue.

class_info_index

Annotations
@Override
enumMemberValueback to summary
pack-priv void enumMemberValue(int pos, int typeNameIndex, int constNameIndex) throws Exception

Overrides javassist.bytecode.AnnotationsAttribute.Walker.enumMemberValue.

Doc from javassist.bytecode.AnnotationsAttribute.Walker.enumMemberValue.

enum_const_value

Annotations
@Override
renameTypeback to summary
private void renameType(int pos, int index)
javassist.bytecode back to summary

pack-priv Class AnnotationsAttribute.Walker

extends Object
Class Inheritance
Known Direct Subclasses
javassist.bytecode.AnnotationsAttribute.Renamer, javassist.bytecode.AnnotationsAttribute.Copier, javassist.bytecode.AnnotationsAttribute.Parser, javassist.bytecode.TypeAnnotationsAttribute.TAWalker

Field Summary

Modifier and TypeField and Description
pack-priv byte[]

Constructor Summary

AccessConstructor and Description
pack-priv
Walker(byte[] attrInfo)

Method Summary

Modifier and TypeMethod and Description
pack-priv final int
annotation(int pos)

pack-priv int
annotation(int pos, int type, int numPairs)

pack-priv final void
pack-priv final int
annotationArray(int pos)

pack-priv int
annotationArray(int pos, int num)

pack-priv int
annotationMemberValue(int pos)

annotation_value

pack-priv int
arrayMemberValue(int pos, int num)

array_value

pack-priv void
classMemberValue(int pos, int index)

class_info_index

pack-priv void
constValueMember(int tag, int index)

const_value_index

pack-priv void
enumMemberValue(int pos, int typeNameIndex, int constNameIndex)

enum_const_value

pack-priv final int
memberValue(int pos)

element_value

pack-priv final int
memberValuePair(int pos)

element_value_paris

pack-priv int
memberValuePair(int pos, int nameIndex)

element_value_paris[]

pack-priv final void
pack-priv void
parameters(int numParam, int pos)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

infoback to summary
pack-priv byte[] info

Constructor Detail

Walkerback to summary
pack-priv Walker(byte[] attrInfo)

Method Detail

annotationback to summary
pack-priv final int annotation(int pos) throws Exception
annotationback to summary
pack-priv int annotation(int pos, int type, int numPairs) throws Exception
annotationArrayback to summary
pack-priv final void annotationArray() throws Exception
annotationArrayback to summary
pack-priv final int annotationArray(int pos) throws Exception
annotationArrayback to summary
pack-priv int annotationArray(int pos, int num) throws Exception
annotationMemberValueback to summary
pack-priv int annotationMemberValue(int pos) throws Exception

annotation_value

arrayMemberValueback to summary
pack-priv int arrayMemberValue(int pos, int num) throws Exception

array_value

classMemberValueback to summary
pack-priv void classMemberValue(int pos, int index) throws Exception

class_info_index

constValueMemberback to summary
pack-priv void constValueMember(int tag, int index) throws Exception

const_value_index

enumMemberValueback to summary
pack-priv void enumMemberValue(int pos, int typeNameIndex, int constNameIndex) throws Exception

enum_const_value

memberValueback to summary
pack-priv final int memberValue(int pos) throws Exception

element_value

memberValuePairback to summary
pack-priv final int memberValuePair(int pos) throws Exception

element_value_paris

memberValuePairback to summary
pack-priv int memberValuePair(int pos, int nameIndex) throws Exception

element_value_paris[]

parametersback to summary
pack-priv final void parameters() throws Exception
parametersback to summary
pack-priv void parameters(int numParam, int pos) throws Exception