|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.classfile.attribute.Attribute
proguard.classfile.attribute.annotation.AnnotationsAttribute
public abstract class AnnotationsAttribute
This Attribute represents an annotations attribute.
| Field Summary | |
|---|---|
Annotation[] |
annotations
|
int |
u2annotationsCount
|
| Fields inherited from class proguard.classfile.attribute.Attribute |
|---|
u2attributeNameIndex, visitorInfo |
| Constructor Summary | |
|---|---|
protected |
AnnotationsAttribute()
Creates an uninitialized AnnotationsAttribute. |
protected |
AnnotationsAttribute(int u2attributeNameIndex,
int u2annotationsCount,
Annotation[] annotations)
Creates an initialized AnnotationsAttribute. |
| Method Summary | |
|---|---|
void |
annotationsAccept(Clazz clazz,
AnnotationVisitor annotationVisitor)
Applies the given visitor to all class annotations. |
void |
annotationsAccept(Clazz clazz,
Field field,
AnnotationVisitor annotationVisitor)
Applies the given visitor to all field annotations. |
void |
annotationsAccept(Clazz clazz,
Method method,
AnnotationVisitor annotationVisitor)
Applies the given visitor to all method annotations. |
| Methods inherited from class proguard.classfile.attribute.Attribute |
|---|
accept, accept, accept, accept, getAttributeName, getVisitorInfo, setVisitorInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int u2annotationsCount
public Annotation[] annotations
| Constructor Detail |
|---|
protected AnnotationsAttribute()
protected AnnotationsAttribute(int u2attributeNameIndex,
int u2annotationsCount,
Annotation[] annotations)
| Method Detail |
|---|
public void annotationsAccept(Clazz clazz,
AnnotationVisitor annotationVisitor)
public void annotationsAccept(Clazz clazz,
Field field,
AnnotationVisitor annotationVisitor)
public void annotationsAccept(Clazz clazz,
Method method,
AnnotationVisitor annotationVisitor)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||