Package soot.tagkit

Class VisibilityAnnotationTag

  • All Implemented Interfaces:
    Tag

    public class VisibilityAnnotationTag
    extends Object
    implements Tag
    Represents the visibility of an annotation attribute attached to a class, field, method or method param (only one of these each) has one or more annotations for Java 1.5.
    • Constructor Detail

      • VisibilityAnnotationTag

        public VisibilityAnnotationTag​(int vis)
        Parameters:
        vis - one of AnnotationConstants
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Tag
        Returns the tag name.
        Specified by:
        getName in interface Tag
      • getInfo

        public String getInfo()
      • getVisibility

        public int getVisibility()
      • getValue

        public byte[] getValue()
        Description copied from interface: Tag
        Returns the tag raw data.
        Specified by:
        getValue in interface Tag
      • hasAnnotations

        public boolean hasAnnotations()