public final class ParameterAnnotationStruct extends java.lang.Object implements ToHuman, java.lang.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(java.lang.Object other) |
AnnotationsList |
getAnnotationsList()
Gets the associated annotations list.
|
CstMethodRef |
getMethod()
Gets the method this item is for.
|
int |
hashCode() |
java.lang.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 hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int compareTo(ParameterAnnotationStruct other)
compareTo in interface java.lang.Comparable<ParameterAnnotationStruct>public void addContents(DexFile file)
public void writeTo(DexFile file, AnnotatedOutput out)
public java.lang.String toHuman()
toString().public CstMethodRef getMethod()
non-null; the methodpublic AnnotationsList getAnnotationsList()
non-null; the annotations listCopyright © 2020. All Rights Reserved.