类 MethodLinker

java.lang.Object
proguard.classfile.util.MethodLinker
所有已实现的接口:
ClassVisitor, MemberVisitor

public class MethodLinker extends Object implements ClassVisitor, MemberVisitor
This ClassVisitor links 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

      public MethodLinker()
  • 方法详细资料

    • visitAnyClass

      public void visitAnyClass(Clazz clazz)
      从接口复制的说明: ClassVisitor
      Visits 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)
      从接口复制的说明: MemberVisitor
      Visits 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.