1 16 17 package org.cojen.classfile.attribute; 18 19 import java.io.DataInput ; 20 import java.io.IOException ; 21 import org.cojen.classfile.Attribute; 22 import org.cojen.classfile.ConstantPool; 23 24 29 public class DeprecatedAttr extends Attribute { 30 31 public DeprecatedAttr(ConstantPool cp) { 32 super(cp, DEPRECATED); 33 } 34 35 public DeprecatedAttr(ConstantPool cp, String name) { 36 super(cp, name); 37 } 38 39 public DeprecatedAttr(ConstantPool cp, String name, int length, DataInput din) 40 throws IOException 41 { 42 super(cp, name); 43 if (length > 0) { 44 din.skipBytes(length); 45 } 46 } 47 48 public int getLength() { 49 return 0; 50 } 51 } 52 | Popular Tags |