|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.dex.file.MethodAnnotationStruct
public final class MethodAnnotationStruct
Association of a method and its annotations.
| Constructor Summary | |
|---|---|
MethodAnnotationStruct(CstMethodRef method,
AnnotationSetItem annotations)
Constructs an instance. |
|
| Method Summary | |
|---|---|
void |
addContents(DexFile file)
|
int |
compareTo(MethodAnnotationStruct other)
|
boolean |
equals(Object other)
|
Annotations |
getAnnotations()
Gets the associated annotations. |
CstMethodRef |
getMethod()
Gets the method 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 MethodAnnotationStruct(CstMethodRef method,
AnnotationSetItem annotations)
method - non-null; the method 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(MethodAnnotationStruct other)
compareTo in interface Comparable<MethodAnnotationStruct>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 CstMethodRef getMethod()
non-null; the methodpublic Annotations getAnnotations()
non-null; the annotations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||