Package javassist.bytecode
Class AnnotationsAttribute.Parser
java.lang.Object
javassist.bytecode.AnnotationsAttribute.Walker
javassist.bytecode.AnnotationsAttribute.Parser
- Enclosing class:
- AnnotationsAttribute
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Annotation[](package private) Annotation[][](package private) Annotation(package private) MemberValue(package private) ConstPoolFields inherited from class javassist.bytecode.AnnotationsAttribute.Walker
info -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) intannotation(int pos, int type, int numPairs) (package private) intannotationArray(int pos, int num) (package private) intannotationMemberValue(int pos) annotation_value(package private) intarrayMemberValue(int pos, int num) array_value(package private) voidclassMemberValue(int pos, int index) class_info_index(package private) voidconstValueMember(int tag, int index) const_value_index(package private) voidenumMemberValue(int pos, int typeNameIndex, int constNameIndex) enum_const_value(package private) intmemberValuePair(int pos, int nameIndex) element_value_paris[](package private) voidparameters(int numParam, int pos) (package private) Annotation[](package private) MemberValue(package private) Annotation[][]Methods inherited from class javassist.bytecode.AnnotationsAttribute.Walker
annotation, annotationArray, annotationArray, memberValue, memberValuePair, parameters
-
Field Details
-
pool
ConstPool pool -
allParams
Annotation[][] allParams -
allAnno
Annotation[] allAnno -
currentAnno
Annotation currentAnno -
currentMember
MemberValue currentMember
-
-
Constructor Details
-
Parser
Parser(byte[] info, ConstPool cp) Constructs a parser. This parser constructs a parse tree of the annotations.- Parameters:
info- the attribute.src- the constant pool.
-
-
Method Details
-
parseParameters
- Throws:
Exception
-
parseAnnotations
- Throws:
Exception
-
parseMemberValue
- Throws:
Exception
-
parameters
- Overrides:
parametersin classAnnotationsAttribute.Walker- Throws:
Exception
-
annotationArray
- Overrides:
annotationArrayin classAnnotationsAttribute.Walker- Throws:
Exception
-
annotation
- Overrides:
annotationin classAnnotationsAttribute.Walker- Throws:
Exception
-
memberValuePair
Description copied from class:AnnotationsAttribute.Walkerelement_value_paris[]- Overrides:
memberValuePairin classAnnotationsAttribute.Walker- Throws:
Exception
-
constValueMember
Description copied from class:AnnotationsAttribute.Walkerconst_value_index- Overrides:
constValueMemberin classAnnotationsAttribute.Walker- Throws:
Exception
-
enumMemberValue
Description copied from class:AnnotationsAttribute.Walkerenum_const_value- Overrides:
enumMemberValuein classAnnotationsAttribute.Walker- Throws:
Exception
-
classMemberValue
Description copied from class:AnnotationsAttribute.Walkerclass_info_index- Overrides:
classMemberValuein classAnnotationsAttribute.Walker- Throws:
Exception
-
annotationMemberValue
Description copied from class:AnnotationsAttribute.Walkerannotation_value- Overrides:
annotationMemberValuein classAnnotationsAttribute.Walker- Throws:
Exception
-
arrayMemberValue
Description copied from class:AnnotationsAttribute.Walkerarray_value- Overrides:
arrayMemberValuein classAnnotationsAttribute.Walker- Throws:
Exception
-