Class DexBackedAnnotationEncodedValue
java.lang.Object
org.jf.dexlib2.base.value.BaseAnnotationEncodedValue
org.jf.dexlib2.dexbacked.value.DexBackedAnnotationEncodedValue
- All Implemented Interfaces:
Comparable<EncodedValue>, BasicAnnotation, AnnotationEncodedValue, EncodedValue
public class DexBackedAnnotationEncodedValue
extends BaseAnnotationEncodedValue
implements AnnotationEncodedValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal DexBackedDexFileprivate final intprivate final intfinal String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<? extends DexBackedAnnotationElement> Gets a set of the name/value elements associated with this annotation.getType()Gets the type of this annotation.private static voidskipElements(DexReader reader, int elementCount) static voidMethods inherited from class BaseAnnotationEncodedValue
compareTo, equals, getValueType, hashCode, toStringMethods inherited from interface AnnotationEncodedValue
compareTo, equals, hashCodeMethods inherited from interface EncodedValue
getValueType
-
Field Details
-
dexFile
-
type
-
elementCount
private final int elementCount -
elementsOffset
private final int elementsOffset
-
-
Constructor Details
-
DexBackedAnnotationEncodedValue
public DexBackedAnnotationEncodedValue(@Nonnull DexBackedDexFile dexFile, @Nonnull DexReader reader)
-
-
Method Details
-
skipFrom
-
skipElements
-
getType
Description copied from interface:AnnotationEncodedValueGets the type of this annotation. This will be the type descriptor of the class that defines this annotation.- Specified by:
getTypein interfaceAnnotationEncodedValue- Specified by:
getTypein interfaceBasicAnnotation- Returns:
- The type of this annotation
-
getElements
Description copied from interface:AnnotationEncodedValueGets a set of the name/value elements associated with this annotation. The elements in the returned set will be unique by name.- Specified by:
getElementsin interfaceAnnotationEncodedValue- Specified by:
getElementsin interfaceBasicAnnotation- Returns:
- A set of AnnotationElements
-