Class ParameterAnnotationStruct
java.lang.Object
com.android.dx.dex.file.ParameterAnnotationStruct
- All Implemented Interfaces:
ToHuman, Comparable<ParameterAnnotationStruct>
public final class ParameterAnnotationStruct
extends Object
implements ToHuman, Comparable<ParameterAnnotationStruct>
Association of a method and its parameter annotations.
-
Constructor Summary
ConstructorsConstructorDescriptionParameterAnnotationStruct(CstMethodRef method, AnnotationsList annotationsList, DexFile dexFile) Constructs an instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContents(DexFile file) intbooleanGets the associated annotations list.Gets the method this item is for.inthashCode()toHuman()Return the "human" string form of this instance.voidwriteTo(DexFile file, AnnotatedOutput out)
-
Constructor Details
-
ParameterAnnotationStruct
public ParameterAnnotationStruct(CstMethodRef method, AnnotationsList annotationsList, DexFile dexFile) Constructs an instance.- Parameters:
method-non-null;the method in questionannotationsList-non-null;the associated annotations listdexFile-non-null;dex output
-
-
Method Details
-
hashCode
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<ParameterAnnotationStruct>
-
addContents
-
writeTo
-
toHuman
-
getMethod
-
getAnnotationsList
Gets the associated annotations list.- Returns:
non-null;the annotations list
-