proguard.classfile.attribute
Class DeprecatedAttribute

java.lang.Object
  extended by proguard.classfile.attribute.Attribute
      extended by proguard.classfile.attribute.DeprecatedAttribute
All Implemented Interfaces:
VisitorAccepter

public class DeprecatedAttribute
extends Attribute

This Attribute represents a deprecated attribute.


Field Summary
 
Fields inherited from class proguard.classfile.attribute.Attribute
u2attributeNameIndex, visitorInfo
 
Constructor Summary
DeprecatedAttribute()
          Creates an uninitialized DeprecatedAttribute.
DeprecatedAttribute(int u2attributeNameIndex)
          Creates an initialized DeprecatedAttribute.
 
Method Summary
 void accept(Clazz clazz, AttributeVisitor attributeVisitor)
          Accepts the given visitor.
 void accept(Clazz clazz, Field field, AttributeVisitor attributeVisitor)
          Accepts the given visitor in the context of the given field.
 void accept(Clazz clazz, Method method, AttributeVisitor attributeVisitor)
          Accepts the given visitor in the context of the given method.
 
Methods inherited from class proguard.classfile.attribute.Attribute
accept, getAttributeName, getVisitorInfo, setVisitorInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeprecatedAttribute

public DeprecatedAttribute()
Creates an uninitialized DeprecatedAttribute.


DeprecatedAttribute

public DeprecatedAttribute(int u2attributeNameIndex)
Creates an initialized DeprecatedAttribute.

Method Detail

accept

public void accept(Clazz clazz,
                   AttributeVisitor attributeVisitor)
Description copied from class: Attribute
Accepts the given visitor.

Overrides:
accept in class Attribute

accept

public void accept(Clazz clazz,
                   Field field,
                   AttributeVisitor attributeVisitor)
Description copied from class: Attribute
Accepts the given visitor in the context of the given field.

Overrides:
accept in class Attribute

accept

public void accept(Clazz clazz,
                   Method method,
                   AttributeVisitor attributeVisitor)
Description copied from class: Attribute
Accepts the given visitor in the context of the given method.

Overrides:
accept in class Attribute