public class DexAnnotationsDirectory
extends java.lang.Object
This class is used to represent directories of annotations. A directory is associated to a class and contains the annotations for the class itself, its fields and methods, as well as all methods parameters.
DexAnnotationItem
Modifier and Type | Class and Description |
---|---|
static class |
DexAnnotationsDirectory.FieldAnnotation
This class represents annotations for a field.
|
static class |
DexAnnotationsDirectory.MethodAnnotation
This class represents annotations for a method.
|
static class |
DexAnnotationsDirectory.ParameterAnnotation
This class represents annotations for the parameters of method.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<DexAnnotationItem> |
getClassAnnotations()
Get all annotation items that concern this class.
|
java.util.List<DexAnnotationsDirectory.FieldAnnotation> |
getFieldsAnnotations()
Get the list of fields annotations.
|
java.util.List<DexAnnotationsDirectory.MethodAnnotation> |
getMethodsAnnotations()
Get the list of methods annotations.
|
java.util.List<DexAnnotationsDirectory.ParameterAnnotation> |
getParametersAnnotations()
Get the list of parameters annotations.
|
public java.util.List<DexAnnotationItem> getClassAnnotations()
Get all annotation items that concern this class.
public java.util.List<DexAnnotationsDirectory.FieldAnnotation> getFieldsAnnotations()
Get the list of fields annotations.
public java.util.List<DexAnnotationsDirectory.MethodAnnotation> getMethodsAnnotations()
Get the list of methods annotations.
public java.util.List<DexAnnotationsDirectory.ParameterAnnotation> getParametersAnnotations()
Get the list of parameters annotations.