Package org.jf.dexlib2.rewriter
Class EncodedValueRewriter.RewrittenAnnotationEncodedValue
- java.lang.Object
-
- org.jf.dexlib2.base.value.BaseAnnotationEncodedValue
-
- org.jf.dexlib2.rewriter.EncodedValueRewriter.RewrittenAnnotationEncodedValue
-
- All Implemented Interfaces:
java.lang.Comparable<EncodedValue>
,BasicAnnotation
,AnnotationEncodedValue
,EncodedValue
- Enclosing class:
- EncodedValueRewriter
protected class EncodedValueRewriter.RewrittenAnnotationEncodedValue extends BaseAnnotationEncodedValue
-
-
Field Summary
Fields Modifier and Type Field Description protected AnnotationEncodedValue
annotationEncodedValue
-
Constructor Summary
Constructors Constructor Description RewrittenAnnotationEncodedValue(AnnotationEncodedValue annotationEncodedValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<? extends AnnotationElement>
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
-
-
-
-
Field Detail
-
annotationEncodedValue
@Nonnull protected AnnotationEncodedValue annotationEncodedValue
-
-
Constructor Detail
-
RewrittenAnnotationEncodedValue
public RewrittenAnnotationEncodedValue(@Nonnull AnnotationEncodedValue annotationEncodedValue)
-
-
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.- Returns:
- The type of this annotation
-
getElements
@Nonnull public java.util.Set<? extends AnnotationElement> 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.- Returns:
- A set of AnnotationElements
-
-