类 ReferencedClassesExtractor
java.lang.Object
proguard.classfile.visitor.ReferencedClassesExtractor
- 所有已实现的接口:
MemberVisitor
Divides the referenced classes in a program/library method in the classes referenced in return
and parameters.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Clazz[]Returns the referencedClazzfor each parameter.@Nullable ClazzReturns the referenced returnClazzof the target method.voidvisitAnyMember(Clazz clazz, Member member) Visits any Member instance.voidvisitLibraryMethod(LibraryClass libraryClass, LibraryMethod libraryMethod) voidvisitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 proguard.classfile.visitor.MemberVisitor
visitLibraryField, visitLibraryMember, visitProgramField, visitProgramMember
-
构造器详细资料
-
ReferencedClassesExtractor
public ReferencedClassesExtractor()
-
-
方法详细资料
-
visitAnyMember
从接口复制的说明:MemberVisitorVisits any Member instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitAnyMember在接口中MemberVisitor
-
visitProgramMethod
- 指定者:
visitProgramMethod在接口中MemberVisitor
-
visitLibraryMethod
- 指定者:
visitLibraryMethod在接口中MemberVisitor
-
getReturnClass
Returns the referenced returnClazzof the target method.- 返回:
- The instance referenced class. Null if the return type is a primitive or array of primitives. Can be null if the class pools have not been initialized; even if they have, the clazz not being null is not a guarantee.
-
getParameterClasses
Returns the referencedClazzfor each parameter.- 返回:
- The referenced class for each parameter (instance excluded), where each parameter can be accessed given its position (starting from 0, category 2 values take only one slot). An element is null if the corresponding parameter is of a primitive type or an array of primitives. An element can be null if the class pools have not been initialized; even if they have, elements not being null is not a guarantee
-