1 15 16 package javassist.bytecode; 17 18 import java.io.DataInputStream ; 19 import java.io.IOException ; 20 import java.util.Map ; 21 22 25 public class DeprecatedAttribute extends AttributeInfo { 26 29 public static final String tag = "Deprecated"; 30 31 DeprecatedAttribute(ConstPool cp, int n, DataInputStream in) 32 throws IOException  33 { 34 super(cp, n, in); 35 } 36 37 42 public DeprecatedAttribute(ConstPool cp) { 43 super(cp, tag, new byte[0]); 44 } 45 46 52 public AttributeInfo copy(ConstPool newCp, Map classnames) { 53 return new DeprecatedAttribute(newCp); 54 } 55 } 56 | Popular Tags |