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 SummaryConstructorsConstructorDescriptionParameterAnnotationStruct(CstMethodRef method, AnnotationsList annotationsList, DexFile dexFile) Constructs an instance.
- 
Method SummaryModifier 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- 
ParameterAnnotationStructpublic ParameterAnnotationStruct(CstMethodRef method, AnnotationsList annotationsList, DexFile dexFile) Constructs an instance.- Parameters:
- method-- non-null;the method in question
- annotationsList-- non-null;the associated annotations list
- dexFile-- non-null;dex output
 
 
- 
- 
Method Details- 
hashCode
- 
equals
- 
compareTo- Specified by:
- compareToin interface- Comparable<ParameterAnnotationStruct>
 
- 
addContents
- 
writeTo
- 
toHuman
- 
getMethod
- 
getAnnotationsListGets the associated annotations list.- Returns:
- non-null;the annotations list
 
 
-