Class AnnotationRewriter.RewrittenAnnotation

java.lang.Object
org.jf.dexlib2.base.BaseAnnotation
org.jf.dexlib2.rewriter.AnnotationRewriter.RewrittenAnnotation
All Implemented Interfaces:
Comparable<Annotation>, Annotation, BasicAnnotation
Enclosing class:
AnnotationRewriter

protected class AnnotationRewriter.RewrittenAnnotation extends BaseAnnotation
  • Field Details

    • annotation

      @Nonnull protected Annotation annotation
  • Constructor Details

    • RewrittenAnnotation

      public RewrittenAnnotation(@Nonnull Annotation annotation)
  • Method Details

    • getVisibility

      public int getVisibility()
      Description copied from interface: Annotation
      Gets the visibility of this annotation. This will be one of the AnnotationVisibility.* constants.
      Returns:
      The visibility of this annotation
    • getType

      @Nonnull public String getType()
      Description copied from interface: Annotation
      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 Set<? extends AnnotationElement> getElements()
      Description copied from interface: Annotation
      Gets a set of the name/value elements associated with this annotation. The elements in the returned set will be unique with respect to the element name.
      Returns:
      A set of AnnotationElements