javassist.bytecode
Class DeprecatedAttribute

java.lang.Object
  extended by javassist.bytecode.AttributeInfo
      extended by javassist.bytecode.DeprecatedAttribute

public class DeprecatedAttribute
extends AttributeInfo

Deprecated_attribute.


Field Summary
static java.lang.String tag
          The name of this attribute "Deprecated".
 
Constructor Summary
DeprecatedAttribute(ConstPool cp)
          Constructs a Deprecated attribute.
 
Method Summary
 AttributeInfo copy(ConstPool newCp, java.util.Map classnames)
          Makes a copy.
 
Methods inherited from class javassist.bytecode.AttributeInfo
get, getConstPool, getName, length, set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 classnames)
Makes a copy.

Overrides:
copy in class AttributeInfo
Parameters:
newCp - the constant pool table used by the new copy.
classnames - should be null.


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