public final class ParameterAnnotationStruct extends Object implements ToHuman, Comparable<ParameterAnnotationStruct>
| Constructor and Description |
|---|
ParameterAnnotationStruct(CstMethodRef method,
AnnotationsList annotationsList,
DexFile dexFile)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addContents(DexFile file) |
int |
compareTo(ParameterAnnotationStruct other) |
boolean |
equals(Object other) |
AnnotationsList |
getAnnotationsList()
Gets the associated annotations list.
|
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) |
public ParameterAnnotationStruct(CstMethodRef method, AnnotationsList annotationsList, DexFile dexFile)
method - non-null; the method in questionannotationsList - non-null; the associated annotations listdexFile - non-null; dex outputpublic int compareTo(ParameterAnnotationStruct other)
compareTo in interface Comparable<ParameterAnnotationStruct>public void addContents(DexFile file)
public void writeTo(DexFile file, AnnotatedOutput out)
public String toHuman()
toString().public CstMethodRef getMethod()
non-null; the methodpublic AnnotationsList getAnnotationsList()
non-null; the annotations listCopyright © 2016. All Rights Reserved.