public class MethodImplementationTraveler extends java.lang.Object implements MemberVisitor
MemberVisitor lets a given MemberVisitor
travel to all concrete and abstract implementations of the visited methods
in their class hierarchies.| Constructor and Description |
|---|
MethodImplementationTraveler(boolean visitThisMethod,
boolean visitSuperMethods,
boolean visitInterfaceMethods,
boolean visitOverridingMethods,
MemberVisitor memberVisitor)
Creates a new MethodImplementationTraveler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
visitLibraryMethod(LibraryClass libraryClass,
LibraryMethod libraryMethod) |
void |
visitProgramMethod(ProgramClass programClass,
ProgramMethod programMethod) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitAnyMember, visitLibraryField, visitLibraryMember, visitProgramField, visitProgramMemberpublic MethodImplementationTraveler(boolean visitThisMethod,
boolean visitSuperMethods,
boolean visitInterfaceMethods,
boolean visitOverridingMethods,
MemberVisitor memberVisitor)
visitThisMethod - specifies whether to visit the originally
visited methods.visitSuperMethods - specifies whether to visit the method in
the super classes.visitInterfaceMethods - specifies whether to visit the method in
the interface classes.visitOverridingMethods - specifies whether to visit the method in
the subclasses.memberVisitor - the MemberVisitor to which
visits will be delegated.public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod)
visitProgramMethod in interface MemberVisitorpublic void visitLibraryMethod(LibraryClass libraryClass, LibraryMethod libraryMethod)
visitLibraryMethod in interface MemberVisitor