Package org.jf.dexlib2.dexbacked.util
Class AnnotationsDirectory.AnnotationsDirectoryImpl
java.lang.Object
org.jf.dexlib2.dexbacked.util.AnnotationsDirectory
org.jf.dexlib2.dexbacked.util.AnnotationsDirectory.AnnotationsDirectoryImpl
- Enclosing class:
AnnotationsDirectory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classNested classes/interfaces inherited from class org.jf.dexlib2.dexbacked.util.AnnotationsDirectory
AnnotationsDirectory.AnnotationIterator -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intfinal DexBackedDexFileprivate final intprivate static final intThe size of a field_annotation structureprivate static final intprivate static final intThe size of a method_annotation structureprivate static final intprivate static final intFields inherited from class org.jf.dexlib2.dexbacked.util.AnnotationsDirectory
EMPTY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jf.dexlib2.dexbacked.util.AnnotationsDirectory
getAnnotations, getParameterAnnotations, newOrEmpty
-
Field Details
-
dexFile
-
directoryOffset
private final int directoryOffset -
FIELD_COUNT_OFFSET
private static final int FIELD_COUNT_OFFSET- See Also:
-
METHOD_COUNT_OFFSET
private static final int METHOD_COUNT_OFFSET- See Also:
-
PARAMETER_COUNT_OFFSET
private static final int PARAMETER_COUNT_OFFSET- See Also:
-
ANNOTATIONS_START_OFFSET
private static final int ANNOTATIONS_START_OFFSET- See Also:
-
FIELD_ANNOTATION_SIZE
private static final int FIELD_ANNOTATION_SIZEThe size of a field_annotation structure- See Also:
-
METHOD_ANNOTATION_SIZE
private static final int METHOD_ANNOTATION_SIZEThe size of a method_annotation structure- See Also:
-
-
Constructor Details
-
AnnotationsDirectoryImpl
-
-
Method Details
-
getFieldAnnotationCount
public int getFieldAnnotationCount()- Specified by:
getFieldAnnotationCountin classAnnotationsDirectory
-
getMethodAnnotationCount
public int getMethodAnnotationCount() -
getParameterAnnotationCount
public int getParameterAnnotationCount() -
getClassAnnotations
- Specified by:
getClassAnnotationsin classAnnotationsDirectory
-
getFieldAnnotationIterator
- Specified by:
getFieldAnnotationIteratorin classAnnotationsDirectory
-
getMethodAnnotationIterator
- Specified by:
getMethodAnnotationIteratorin classAnnotationsDirectory
-
getParameterAnnotationIterator
- Specified by:
getParameterAnnotationIteratorin classAnnotationsDirectory
-