Package com.googlecode.d2j.node
Class DexAnnotationNode
java.lang.Object
com.googlecode.d2j.visitors.DexAnnotationVisitor
com.googlecode.d2j.node.DexAnnotationNode
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class com.googlecode.d2j.visitors.DexAnnotationVisitor
visitor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidacceptAnnotationItem(DexAnnotationVisitor dav, String name, Object o) voidVisits a primitive value of the annotation.visitAnnotation(String name, String desc) Visits a nested annotation value of the annotation.visitArray(String name) voidVisits an enumeration value of the annotation.Methods inherited from class com.googlecode.d2j.visitors.DexAnnotationVisitor
visitEnd
-
Field Details
-
items
-
type
-
visibility
-
-
Constructor Details
-
DexAnnotationNode
-
-
Method Details
-
acceptAnnotationItem
-
accept
-
visit
Description copied from class:DexAnnotationVisitorVisits a primitive value of the annotation. -
visitAnnotation
Description copied from class:DexAnnotationVisitorVisits a nested annotation value of the annotation.- Overrides:
visitAnnotationin classDexAnnotationVisitor- Parameters:
name- the value name.desc- the descriptor of the nested annotation-class.- Returns:
- a visitor to visit the actual nested annotation value, or
nullif this visitor is not interested in visiting this nested annotation. The nested annotation value must be fully visited before calling other methods on this annotation visitor.
-
visitArray
- Overrides:
visitArrayin classDexAnnotationVisitor
-
visitEnum
Description copied from class:DexAnnotationVisitorVisits an enumeration value of the annotation.- Overrides:
visitEnumin classDexAnnotationVisitor- Parameters:
name- the value name.desc- the descriptor of the enumeration-class.value- the actual enumeration value.
-