Package soot.tagkit

Class DeprecatedTag

  • All Implemented Interfaces:
    Tag

    public class DeprecatedTag
    extends Object
    implements Tag
    Represents the deprecated attribute used by fields, methods and classes The two attributes forRemoval and since were introduced with Java 9.
    • Constructor Detail

      • DeprecatedTag

        public DeprecatedTag()
      • DeprecatedTag

        public DeprecatedTag​(Boolean forRemoval,
                             String since)
    • 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()
      • getForRemoval

        public Boolean getForRemoval()
      • getSince

        public String getSince()
      • getValue

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