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:
Comparable<EncodedValue>,BasicAnnotation,AnnotationEncodedValue,EncodedValue,BuilderEncodedValues.BuilderEncodedValue
- Enclosing class:
BuilderEncodedValues
public static class BuilderEncodedValues.BuilderAnnotationEncodedValue
extends BaseAnnotationEncodedValue
implements BuilderEncodedValues.BuilderEncodedValue
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Set<? extends BuilderAnnotationElement> (package private) final BuilderTypeReference -
Constructor Summary
ConstructorsConstructorDescriptionBuilderAnnotationEncodedValue(BuilderTypeReference typeReference, Set<? extends BuilderAnnotationElement> elements) -
Method Summary
Modifier and TypeMethodDescriptionSet<? extends BuilderAnnotationElement> Gets a set of the name/value elements associated with this annotation.getType()Gets the type of this annotation.Methods inherited from class org.jf.dexlib2.base.value.BaseAnnotationEncodedValue
compareTo, equals, getValueType, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jf.dexlib2.iface.value.EncodedValue
getValueType
-
Field Details
-
typeReference
-
elements
-
-
Constructor Details
-
BuilderAnnotationEncodedValue
BuilderAnnotationEncodedValue(@Nonnull BuilderTypeReference typeReference, @Nonnull Set<? extends BuilderAnnotationElement> elements)
-
-
Method Details
-
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
-