|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.dex.file.FieldAnnotationStruct
public final class FieldAnnotationStruct
Association of a field and its annotations.
| Constructor Summary | |
|---|---|
FieldAnnotationStruct(CstFieldRef field,
AnnotationSetItem annotations)
Constructs an instance. |
|
| Method Summary | |
|---|---|
void |
addContents(DexFile file)
|
int |
compareTo(FieldAnnotationStruct other)
|
boolean |
equals(Object other)
|
Annotations |
getAnnotations()
Gets the associated annotations. |
CstFieldRef |
getField()
Gets the field this item is for. |
int |
hashCode()
|
String |
toHuman()
Return the "human" string form of this instance. |
void |
writeTo(DexFile file,
AnnotatedOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldAnnotationStruct(CstFieldRef field,
AnnotationSetItem annotations)
field - non-null; the field in questionannotations - non-null; the associated annotations| Method Detail |
|---|
public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectpublic int compareTo(FieldAnnotationStruct other)
compareTo in interface Comparable<FieldAnnotationStruct>public void addContents(DexFile file)
public void writeTo(DexFile file,
AnnotatedOutput out)
public String toHuman()
toString().
toHuman in interface ToHumannon-null; the human string formpublic CstFieldRef getField()
non-null; the fieldpublic Annotations getAnnotations()
non-null; the annotations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||