public class AllParameterVisitor extends java.lang.Object implements MemberVisitor
MemberVisitor lets a given parameter visitor visit all the parameters
of the methods that it visits. The parameters optionally include the
'this' parameters of non-static methods, but never the return value.| Constructor and Description |
|---|
AllParameterVisitor(boolean includeThisParameter,
ParameterVisitor parameterVisitor)
Creates a new AllParameterVisitor for the given parameter
visitor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
visitLibraryField(LibraryClass libraryClass,
LibraryField libraryField) |
void |
visitLibraryMethod(LibraryClass libraryClass,
LibraryMethod libraryMethod) |
void |
visitProgramField(ProgramClass programClass,
ProgramField programField) |
void |
visitProgramMethod(ProgramClass programClass,
ProgramMethod programMethod) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitAnyMember, visitLibraryMember, visitProgramMemberpublic AllParameterVisitor(boolean includeThisParameter,
ParameterVisitor parameterVisitor)
includeThisParameter - specifies whether to visit the 'this'
parameters.parameterVisitor - the visitor for the parameters of the
visited methods.public void visitProgramField(ProgramClass programClass, ProgramField programField)
visitProgramField in interface MemberVisitorpublic void visitLibraryField(LibraryClass libraryClass, LibraryField libraryField)
visitLibraryField in interface MemberVisitorpublic void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod)
visitProgramMethod in interface MemberVisitorpublic void visitLibraryMethod(LibraryClass libraryClass, LibraryMethod libraryMethod)
visitLibraryMethod in interface MemberVisitor