Class DeprecatedAttribute


  • public class DeprecatedAttribute
    extends AttributeInfo
    Deprecated_attribute.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String tag
      The name of this attribute "Deprecated".
    • Field Detail

      • tag

        public static final java.lang.String tag
        The name of this attribute "Deprecated".
        See Also:
        Constant Field Values
    • Constructor Detail

      • DeprecatedAttribute

        public DeprecatedAttribute​(ConstPool cp)
        Constructs a Deprecated attribute.
        Parameters:
        cp - a constant pool table.
    • Method Detail

      • copy

        public AttributeInfo copy​(ConstPool newCp,
                                  java.util.Map<java.lang.String,​java.lang.String> classnames)
        Makes a copy.
        Overrides:
        copy in class AttributeInfo
        Parameters:
        newCp - the constant pool table used by the new copy.
        classnames - should be null.