public class DeprecatedAttribute extends AttributeInfo
Deprecated_attribute.| Modifier and Type | Field and Description |
|---|---|
static String |
tag
The name of this attribute
"Deprecated". |
constPool| Constructor and Description |
|---|
DeprecatedAttribute(ConstPool cp)
Constructs a Deprecated attribute.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeInfo |
copy(ConstPool newCp,
Map classnames)
Makes a copy.
|
get, getConstPool, getName, length, setpublic static final String tag
"Deprecated".public DeprecatedAttribute(ConstPool cp)
cp - a constant pool table.public AttributeInfo copy(ConstPool newCp, Map classnames)
copy in class AttributeInfonewCp - the constant pool table used by the new copy.classnames - should be null.Copyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.