Package org.jf.dexlib2.writer.builder
Class BuilderEncodedValues.BuilderAnnotationEncodedValue
- java.lang.Object
-
- org.jf.dexlib2.base.value.BaseAnnotationEncodedValue
-
- org.jf.dexlib2.writer.builder.BuilderEncodedValues.BuilderAnnotationEncodedValue
-
- All Implemented Interfaces:
java.lang.Comparable<EncodedValue>
,BasicAnnotation
,AnnotationEncodedValue
,EncodedValue
,BuilderEncodedValues.BuilderEncodedValue
- Enclosing class:
- BuilderEncodedValues
public static class BuilderEncodedValues.BuilderAnnotationEncodedValue extends BaseAnnotationEncodedValue implements BuilderEncodedValues.BuilderEncodedValue
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<? extends BuilderAnnotationElement>
getElements()
Gets a set of the name/value elements associated with this annotation.java.lang.String
getType()
Gets the type of this annotation.-
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.EncodedValue
getValueType
-
-
-
-
Method Detail
-
getType
@Nonnull public java.lang.String getType()
Description copied from interface:AnnotationEncodedValue
Gets the type of this annotation. This will be the type descriptor of the class that defines this annotation.- Specified by:
getType
in interfaceAnnotationEncodedValue
- Specified by:
getType
in interfaceBasicAnnotation
- Returns:
- The type of this annotation
-
getElements
@Nonnull public java.util.Set<? extends BuilderAnnotationElement> getElements()
Description copied from interface:AnnotationEncodedValue
Gets a set of the name/value elements associated with this annotation. The elements in the returned set will be unique by name.- Specified by:
getElements
in interfaceAnnotationEncodedValue
- Specified by:
getElements
in interfaceBasicAnnotation
- Returns:
- A set of AnnotationElements
-
-