public class DeprecatedAttribute extends AttributeInfo
Deprecated_attribute
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
tag
The name of this attribute
"Deprecated" . |
constPool, info, name
Constructor and Description |
---|
DeprecatedAttribute(ConstPool cp)
Constructs a Deprecated attribute.
|
DeprecatedAttribute(ConstPool cp,
int n,
java.io.DataInputStream in) |
Modifier and Type | Method and Description |
---|---|
AttributeInfo |
copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy.
|
copyAll, get, getConstPool, getLength, getName, getRefClasses, getRefClasses, length, lookup, read, remove, renameClass, renameClass, renameClass, renameClass, set, write, writeAll
public static final java.lang.String tag
"Deprecated"
.DeprecatedAttribute(ConstPool cp, int n, java.io.DataInputStream in) throws java.io.IOException
java.io.IOException
public DeprecatedAttribute(ConstPool cp)
cp
- a constant pool table.public AttributeInfo copy(ConstPool newCp, java.util.Map classnames)
copy
in class AttributeInfo
newCp
- the constant pool table used by the new copy.classnames
- should be null.