|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.cf.direct.AnnotationParser
public final class AnnotationParser
Parser for annotations.
| Constructor Summary | |
|---|---|
AnnotationParser(DirectClassFile cf,
int offset,
int length,
ParseObserver observer)
Constructs an instance. |
|
| Method Summary | |
|---|---|
Annotations |
parseAnnotationAttribute(AnnotationVisibility visibility)
Parses an annotation attribute, per se. |
AnnotationsList |
parseParameterAttribute(AnnotationVisibility visibility)
Parses a parameter annotation attribute. |
Constant |
parseValueAttribute()
Parses an annotation value ( element_value) attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationParser(DirectClassFile cf,
int offset,
int length,
ParseObserver observer)
cf - non-null; class file to parse fromoffset - >= 0; offset into the class file data to parse atlength - >= 0; number of bytes left in the attribute dataobserver - null-ok; parse observer to notify, if any| Method Detail |
|---|
public Constant parseValueAttribute()
element_value) attribute.
non-null; the parsed constant valuepublic AnnotationsList parseParameterAttribute(AnnotationVisibility visibility)
visibility - non-null; visibility of the parsed annotations
non-null; the parsed list of lists of annotationspublic Annotations parseAnnotationAttribute(AnnotationVisibility visibility)
visibility - non-null; visibility of the parsed annotations
non-null; the list of annotations read from the attribute
data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||