001package serp.bytecode;
002
003import serp.bytecode.visitor.*;
004
005/**
006 * Attribute signifying that a method or class is deprecated.
007 *
008 * @author Abe White
009 */
010public class Deprecated extends Attribute {
011    Deprecated(int nameIndex, Attributes owner) {
012        super(nameIndex, owner);
013    }
014
015    public void acceptVisit(BCVisitor visit) {
016        visit.enterDeprecated(this);
017        visit.exitDeprecated(this);
018    }
019}