类 MethodLinker
- java.lang.Object
-
- proguard.classfile.util.MethodLinker
-
- 所有已实现的接口:
ClassVisitor,MemberVisitor
public class MethodLinker extends java.lang.Object implements ClassVisitor, MemberVisitor
ThisClassVisitorlinks all corresponding non-private, non-static, non-initializer methods in the class hierarchies of all visited classes. Visited classes are typically all class files that are not being subclassed. Chains of links that have been created in previous invocations are merged with new chains of links, in order to create a consistent set of chains.
-
-
构造器概要
构造器 构造器 说明 MethodLinker()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static MemberlastMember(Member member)Finds the last method in the linked list of related methods.static ProcessablelastProcessable(Processable processable)Finds the last method in the linked list of related methods.voidvisitAnyClass(Clazz clazz)Visits any Clazz instance.voidvisitAnyMember(Clazz clazz, Member member)Visits any Member instance.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 proguard.classfile.visitor.ClassVisitor
visitLibraryClass, visitProgramClass
-
从接口继承的方法 proguard.classfile.visitor.MemberVisitor
visitLibraryField, visitLibraryMember, visitLibraryMethod, visitProgramField, visitProgramMember, visitProgramMethod
-
-
-
-
方法详细资料
-
visitAnyClass
public void visitAnyClass(Clazz clazz)
从接口复制的说明:ClassVisitorVisits any Clazz instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitAnyClass在接口中ClassVisitor
-
visitAnyMember
public void visitAnyMember(Clazz clazz, Member member)
从接口复制的说明:MemberVisitorVisits any Member instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitAnyMember在接口中MemberVisitor
-
lastMember
public static Member lastMember(Member member)
Finds the last method in the linked list of related methods.- 参数:
member- The given method.- 返回:
- The last method in the linked list.
-
lastProcessable
public static Processable lastProcessable(Processable processable)
Finds the last method in the linked list of related methods.- 参数:
processable- The given method.- 返回:
- The last method in the linked list.
-
-