javassist.bytecode

Class DeprecatedAttribute

public class DeprecatedAttribute extends AttributeInfo

Deprecated_attribute.
Field Summary
static Stringtag
The name of this attribute "Deprecated".
Constructor Summary
DeprecatedAttribute(ConstPool cp)
Constructs a Deprecated attribute.
Method Summary
AttributeInfocopy(ConstPool newCp, Map classnames)
Makes a copy.

Field Detail

tag

public static final String tag
The name of this attribute "Deprecated".

Constructor Detail

DeprecatedAttribute

public DeprecatedAttribute(ConstPool cp)
Constructs a Deprecated attribute.

Parameters: cp a constant pool table.

Method Detail

copy

public AttributeInfo copy(ConstPool newCp, Map classnames)
Makes a copy.

Parameters: newCp the constant pool table used by the new copy. classnames should be null.

Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999-2006 Shigeru Chiba. All Rights Reserved.