# Interface: com.pnfsoftware.jeb.core.units.code.android.dex.IDexAnnotationsDirectory

This interface is used to represent directories of annotations for a class item. 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.

## Method: getClassAnnotations
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.android.dex.IDexAnnotationItem>`

Description: Get annotation items for this class.
return: the list of annotation items, possibly empty

## Method: getFieldAnnotations
- parameter: `fieldIndex`, type: `int`
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.android.dex.IDexAnnotationItem>`

Description: Convenience method to retrieve the list of field annotations for a field of the class that this directory belongs to.
parameter: fieldIndex: the field index
return: may be empty

## Method: getFieldsAnnotations
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.android.dex.IDexAnnotationForField>`

Description: Get the list of fields annotations.
return: the list of fields annotations, possibly empty

## Method: getMethodAnnotations
- parameter: `methodIndex`, type: `int`
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.android.dex.IDexAnnotationItem>`

Description: Convenience method to retrieve the list of method annotations for a method of the class that this directory belongs to.
parameter: methodIndex: the method index
return: may be empty

## Method: getMethodsAnnotations
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.android.dex.IDexAnnotationForMethod>`

Description: Get the list of methods annotations.
return: the list of methods annotations, possibly empty

## Method: getParametersAnnotations
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.android.dex.IDexAnnotationForParameter>`

Description: Get the list of parameters annotations.
return: the list of parameters annotations, possibly empty

## Method: getParametersAnnotations
- parameter: `methodIndex`, type: `int`
- return type: `java.util.List<java.util.List<com.pnfsoftware.jeb.core.units.code.android.dex.IDexAnnotationItem>>`

Description: Convenience method to retrieve the list of parameters annotations for a method of the class that this directory belongs to.
parameter: methodIndex: the method index
return: may be empty

