类 ProgramMethod
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.ProgramMember
-
- proguard.classfile.ProgramMethod
-
- 所有已实现的接口:
java.io.Serializable,Member,Method,Processable
public class ProgramMethod extends ProgramMember implements Method
ThisMethodrepresents a method in aProgramClass.- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 Clazz[]referencedClassesAn extra field containing all the classes referenced in the descriptor string.-
从类继承的字段 proguard.classfile.ProgramMember
attributes, u2accessFlags, u2attributesCount, u2descriptorIndex, u2nameIndex
-
从类继承的字段 proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
构造器概要
构造器 构造器 说明 ProgramMethod()Creates an uninitialized ProgramMethod.ProgramMethod(int u2accessFlags, int u2nameIndex, int u2descriptorIndex, int u2attributesCount, Attribute[] attributes, Clazz[] referencedClasses)Creates an initialized ProgramMethod.ProgramMethod(int u2accessFlags, int u2nameIndex, int u2descriptorIndex, int u2attributesCount, Attribute[] attributes, Clazz[] referencedClasses, int processingFlags, java.lang.Object processingInfo)Creates an initialized ProgramMethod.ProgramMethod(int u2accessFlags, int u2nameIndex, int u2descriptorIndex, Clazz[] referencedClasses)Creates an initialized ProgramMethod without attributes.ProgramMethod(int u2accessFlags, int u2nameIndex, int u2descriptorIndex, Clazz[] referencedClasses, int processingFlags, java.lang.Object processingInfo)Creates an initialized ProgramMethod without attributes.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaccept(ProgramClass programClass, MemberVisitor memberVisitor)Accepts the given member info visitor.voidattributesAccept(ProgramClass programClass, AttributeVisitor attributeVisitor)Lets the given attribute info visitor visit all the attributes of this member info.voidreferencedClassesAccept(ClassVisitor classVisitor)Lets the Clazz objects referenced in the descriptor string accept the given visitor.-
从类继承的方法 proguard.classfile.ProgramMember
accept, getAccessFlags, getDescriptor, getName
-
从类继承的方法 proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 proguard.classfile.Member
accept, getAccessFlags, getDescriptor, getName
-
从接口继承的方法 proguard.util.Processable
accept, addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
-
-
-
字段详细资料
-
referencedClasses
public Clazz[] referencedClasses
An extra field containing all the classes referenced in the descriptor string. This field is filled out by theClassReferenceInitializer. The size of the array is the number of classes in the descriptor. Primitive types and arrays of primitive types are ignored. Unknown classes are represented as null values.
-
-
构造器详细资料
-
ProgramMethod
public ProgramMethod()
Creates an uninitialized ProgramMethod.
-
ProgramMethod
public ProgramMethod(int u2accessFlags, int u2nameIndex, int u2descriptorIndex, Clazz[] referencedClasses)Creates an initialized ProgramMethod without attributes.
-
ProgramMethod
public ProgramMethod(int u2accessFlags, int u2nameIndex, int u2descriptorIndex, Clazz[] referencedClasses, int processingFlags, java.lang.Object processingInfo)Creates an initialized ProgramMethod without attributes.
-
ProgramMethod
public ProgramMethod(int u2accessFlags, int u2nameIndex, int u2descriptorIndex, int u2attributesCount, Attribute[] attributes, Clazz[] referencedClasses)Creates an initialized ProgramMethod.
-
-
方法详细资料
-
accept
public void accept(ProgramClass programClass, MemberVisitor memberVisitor)
从类复制的说明:ProgramMemberAccepts the given member info visitor.- 指定者:
accept在类中ProgramMember
-
attributesAccept
public void attributesAccept(ProgramClass programClass, AttributeVisitor attributeVisitor)
从类复制的说明:ProgramMemberLets the given attribute info visitor visit all the attributes of this member info.- 指定者:
attributesAccept在类中ProgramMember
-
referencedClassesAccept
public void referencedClassesAccept(ClassVisitor classVisitor)
从接口复制的说明:MemberLets the Clazz objects referenced in the descriptor string accept the given visitor.- 指定者:
referencedClassesAccept在接口中Member
-
-