1 7 8 package jas; 9 10 import java.io.*; 11 12 public class DeprecatedAttr 13 { 14 static CP attr = new AsciiCP("Deprecated"); 15 16 19 20 public DeprecatedAttr() 21 { } 22 23 void resolve(ClassEnv e) 24 { 25 e.addCPItem(attr); 26 } 27 28 void write(ClassEnv e, DataOutputStream out) 29 throws IOException, jasError 30 { 31 out.writeShort(e.getCPIndex(attr)); 32 out.writeInt(0); 33 } 34 } 35 36 37 | Popular Tags |