Package javassist.bytecode
Class DeprecatedAttribute
- java.lang.Object
-
- javassist.bytecode.AttributeInfo
-
- javassist.bytecode.DeprecatedAttribute
-
public class DeprecatedAttribute extends AttributeInfo
Deprecated_attribute
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
tag
The name of this attribute"Deprecated"
.
-
Constructor Summary
Constructors Constructor Description DeprecatedAttribute(ConstPool cp)
Constructs a Deprecated attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeInfo
copy(ConstPool newCp, java.util.Map<java.lang.String,java.lang.String> classnames)
Makes a copy.-
Methods inherited from class javassist.bytecode.AttributeInfo
get, getConstPool, getName, length, set
-
-
-
-
Field Detail
-
tag
public static final java.lang.String tag
The name of this attribute"Deprecated"
.- See Also:
- Constant Field Values
-
-
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, java.util.Map<java.lang.String,java.lang.String> classnames)
Makes a copy.- Overrides:
copy
in classAttributeInfo
- Parameters:
newCp
- the constant pool table used by the new copy.classnames
- should be null.
-
-