Package org.jf.dexlib2.dexbacked.util
Class AnnotationsDirectory
java.lang.Object
org.jf.dexlib2.dexbacked.util.AnnotationsDirectory
- Direct Known Subclasses:
AnnotationsDirectory.AnnotationsDirectoryImpl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThis provides a forward-only, skipable iteration over the field_annotation, method_annotation or parameter_annotation lists in an annotations_directory_item.private static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<? extends DexBackedAnnotation> getAnnotations(DexBackedDexFile dexFile, int annotationSetOffset) abstract Set<? extends DexBackedAnnotation> abstract intstatic List<Set<? extends DexBackedAnnotation>> getParameterAnnotations(DexBackedDexFile dexFile, int annotationSetListOffset) static AnnotationsDirectorynewOrEmpty(DexBackedDexFile dexFile, int directoryAnnotationsOffset)
-
Field Details
-
EMPTY
-
-
Constructor Details
-
AnnotationsDirectory
public AnnotationsDirectory()
-
-
Method Details
-
getFieldAnnotationCount
public abstract int getFieldAnnotationCount() -
getClassAnnotations
-
getFieldAnnotationIterator
-
getMethodAnnotationIterator
-
getParameterAnnotationIterator
-
newOrEmpty
@Nonnull public static AnnotationsDirectory newOrEmpty(@Nonnull DexBackedDexFile dexFile, int directoryAnnotationsOffset) -
getAnnotations
@Nonnull public static Set<? extends DexBackedAnnotation> getAnnotations(@Nonnull DexBackedDexFile dexFile, int annotationSetOffset) -
getParameterAnnotations
@Nonnull public static List<Set<? extends DexBackedAnnotation>> getParameterAnnotations(@Nonnull DexBackedDexFile dexFile, int annotationSetListOffset)
-