ProGuard

proguard.classfile
Class ProgramMethodInfo

java.lang.Object
  extended byproguard.classfile.ProgramMemberInfo
      extended byproguard.classfile.ProgramMethodInfo
All Implemented Interfaces:
MemberInfo, MethodInfo, VisitorAccepter

public class ProgramMethodInfo
extends ProgramMemberInfo
implements MethodInfo

Representation of a method from a program class file.


Field Summary
 
Fields inherited from class proguard.classfile.ProgramMemberInfo
attributes, referencedClassFiles, u2accessFlags, u2attributesCount, u2descriptorIndex, u2nameIndex, visitorInfo
 
Constructor Summary
ProgramMethodInfo()
           
 
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 ProgramMethodInfo create(DataInput din, ClassFile cf)
          Creates a new ProgramMethodInfo 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

ProgramMethodInfo

public ProgramMethodInfo()
Method Detail

create

public static ProgramMethodInfo create(DataInput din,
                                       ClassFile cf)
                                throws IOException
Creates a new ProgramMethodInfo 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