1 package serp.bytecode; 2 3 import serp.bytecode.visitor.*; 4 5 /*** 6 * Attribute signifying that a method or class is deprecated. 7 * 8 * @author Abe White 9 */ 10 public class Deprecated extends Attribute { 11 Deprecated(int nameIndex, Attributes owner) { 12 super(nameIndex, owner); 13 } 14 15 public void acceptVisit(BCVisitor visit) { 16 visit.enterDeprecated(this); 17 visit.exitDeprecated(this); 18 } 19 }