ProGuard

proguard.classfile
Class ProgramFieldInfo

java.lang.Object
  extended byproguard.classfile.ProgramMemberInfo
      extended byproguard.classfile.ProgramFieldInfo
All Implemented Interfaces:
FieldInfo, MemberInfo, VisitorAccepter

public class ProgramFieldInfo
extends ProgramMemberInfo
implements FieldInfo

Representation of a field from a program class file.


Field Summary
 
Fields inherited from class proguard.classfile.ProgramMemberInfo
attributes, referencedClassFiles, u2accessFlags, u2attributesCount, u2descriptorIndex, u2nameIndex, visitorInfo
 
Constructor Summary
protected ProgramFieldInfo()
           
 
Method Summary
 void accept(ProgramClassFile programClassFile, MemberInfoVisitor memberInfoVisitor)
          Accepts the given member info visitor.
 void attributesAccept(ProgramClassFile programClassFile, AttrInfoVisitor attrInfoVisitor)
          Lets the given attribute info visitor visit all the attributes of this member info.
static ProgramFieldInfo create(DataInput din, ClassFile cf)
          Creates a new ProgramFieldInfo from the file format data in the DataInput stream.
 
Methods inherited from class proguard.classfile.ProgramMemberInfo
accept, getAccessFlags, getDescriptor, getLineNumberRange, getName, getVisitorInfo, read, referencedClassesAccept, setVisitorInfo, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface proguard.classfile.MemberInfo
accept, getAccessFlags, getDescriptor, getName
 
Methods inherited from interface proguard.classfile.VisitorAccepter
getVisitorInfo, setVisitorInfo
 

Constructor Detail

ProgramFieldInfo

protected ProgramFieldInfo()
Method Detail

create

public static ProgramFieldInfo create(DataInput din,
                                      ClassFile cf)
                               throws IOException
Creates a new ProgramFieldInfo from the file format data in the DataInput stream.

Throws:
IOException - if class file is corrupt or incomplete

accept

public void accept(ProgramClassFile programClassFile,
                   MemberInfoVisitor memberInfoVisitor)
Description copied from class: ProgramMemberInfo
Accepts the given member info visitor.

Specified by:
accept in class ProgramMemberInfo

attributesAccept

public void attributesAccept(ProgramClassFile programClassFile,
                             AttrInfoVisitor attrInfoVisitor)
Description copied from class: ProgramMemberInfo
Lets the given attribute info visitor visit all the attributes of this member info.

Specified by:
attributesAccept in class ProgramMemberInfo

ProGuard