public class DeprecatedAttribute extends AttributeInfo
Deprecated_attribute
.Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
tag |
The name of this attribute
"Deprecated" . |
Constructor | Description |
---|---|
DeprecatedAttribute(ConstPool cp) |
Constructs a Deprecated attribute.
|
Modifier and Type | Method | Description |
---|---|---|
AttributeInfo |
copy(ConstPool newCp,
java.util.Map<java.lang.String,java.lang.String> classnames) |
Makes a copy.
|
get, getConstPool, getName, length, set
public static final java.lang.String tag
"Deprecated"
.public DeprecatedAttribute(ConstPool cp)
cp
- a constant pool table.public AttributeInfo copy(ConstPool newCp, java.util.Map<java.lang.String,java.lang.String> classnames)
copy
in class AttributeInfo
newCp
- the constant pool table used by the new copy.classnames
- should be null.Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.