Package org.jf.dexlib2.dexbacked.value
Class DexBackedAnnotationEncodedValue
- java.lang.Object
-
- org.jf.dexlib2.base.value.BaseAnnotationEncodedValue
-
- org.jf.dexlib2.dexbacked.value.DexBackedAnnotationEncodedValue
-
- All Implemented Interfaces:
java.lang.Comparable<EncodedValue>,BasicAnnotation,AnnotationEncodedValue,EncodedValue
public class DexBackedAnnotationEncodedValue extends BaseAnnotationEncodedValue implements AnnotationEncodedValue
-
-
Field Summary
Fields Modifier and Type Field Description DexBackedDexFiledexFilejava.lang.Stringtype
-
Constructor Summary
Constructors Constructor Description DexBackedAnnotationEncodedValue(DexBackedDexFile dexFile, DexReader reader)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<? extends DexBackedAnnotationElement>getElements()Gets a set of the name/value elements associated with this annotation.java.lang.StringgetType()Gets the type of this annotation.static voidskipFrom(DexReader reader)-
Methods inherited from class org.jf.dexlib2.base.value.BaseAnnotationEncodedValue
compareTo, equals, getValueType, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.iface.value.AnnotationEncodedValue
compareTo, equals, hashCode
-
Methods inherited from interface org.jf.dexlib2.iface.value.EncodedValue
getValueType
-
-
-
-
Field Detail
-
dexFile
@Nonnull public final DexBackedDexFile dexFile
-
type
@Nonnull public final java.lang.String type
-
-
Constructor Detail
-
DexBackedAnnotationEncodedValue
public DexBackedAnnotationEncodedValue(@Nonnull DexBackedDexFile dexFile, @Nonnull DexReader reader)
-
-
Method Detail
-
skipFrom
public static void skipFrom(@Nonnull DexReader reader)
-
getType
@Nonnull public java.lang.String 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
@Nonnull public java.util.Set<? extends DexBackedAnnotationElement> 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
-
-