proguard.classfile
Class DeprecatedAttrInfo
java.lang.Object
proguard.classfile.AttrInfo
proguard.classfile.DeprecatedAttrInfo
- All Implemented Interfaces:
- VisitorAccepter
- public class DeprecatedAttrInfo
- extends AttrInfo
Representation of a deprecated attribute.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeprecatedAttrInfo
protected DeprecatedAttrInfo()
getAttrInfoLength
protected int getAttrInfoLength()
- Description copied from class:
AttrInfo
- Returns the length in bytes of the attribute.
- Specified by:
getAttrInfoLength in class AttrInfo
readInfo
protected void readInfo(DataInput din,
ClassFile cf)
throws IOException
- Description copied from class:
AttrInfo
- Reads the data following the header.
- Specified by:
readInfo in class AttrInfo
- Throws:
IOException
writeInfo
protected void writeInfo(DataOutput dout)
throws IOException
- Description copied from class:
AttrInfo
- Exports data following the header to a DataOutput stream.
- Specified by:
writeInfo in class AttrInfo
- Throws:
IOException
accept
public void accept(ClassFile classFile,
AttrInfoVisitor attrInfoVisitor)
- Description copied from class:
AttrInfo
- Accepts the given visitor.
This default implementation does nothing, which is useful for attributes
that require a context.
- Overrides:
accept in class AttrInfo