Class SyntheticAttribute


  • public class SyntheticAttribute
    extends AttributeInfo
    Synthetic_attribute.
    • Field Detail

      • tag

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

      • SyntheticAttribute

        SyntheticAttribute​(ConstPool cp,
                           int n,
                           java.io.DataInputStream in)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • SyntheticAttribute

        public SyntheticAttribute​(ConstPool cp)
        Constructs a Synthetic 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.