proguard.classfile
Class ProgramMethodInfo
java.lang.Object
proguard.classfile.ProgramMemberInfo
proguard.classfile.ProgramMethodInfo
- All Implemented Interfaces:
- MemberInfo, MethodInfo, VisitorAccepter
- public class ProgramMethodInfo
- extends ProgramMemberInfo
- implements MethodInfo
Representation of a method from a program class file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgramMethodInfo
public ProgramMethodInfo()
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