public class MethodLinker extends java.lang.Object implements ClassVisitor, MemberVisitor
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.| Constructor and Description |
|---|
MethodLinker() |
| Modifier and Type | Method and Description |
|---|---|
static Member |
lastMember(Member member)
Finds the last method in the linked list of related methods.
|
static Processable |
lastProcessable(Processable processable)
Finds the last method in the linked list of related methods.
|
void |
visitAnyClass(Clazz clazz)
Visits any Clazz instance.
|
void |
visitAnyMember(Clazz clazz,
Member member)
Visits any Member instance.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitLibraryClass, visitProgramClassvisitLibraryField, visitLibraryMember, visitLibraryMethod, visitProgramField, visitProgramMember, visitProgramMethodpublic void visitAnyClass(Clazz clazz)
ClassVisitorvisitAnyClass in interface ClassVisitorpublic void visitAnyMember(Clazz clazz, Member member)
MemberVisitorvisitAnyMember in interface MemberVisitorpublic static Member lastMember(Member member)
member - The given method.public static Processable lastProcessable(Processable processable)
processable - The given method.