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, wait
visitAnyMember, visitLibraryMember, visitProgramMember
public 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 MemberVisitor
public void visitLibraryField(LibraryClass libraryClass, LibraryField libraryField)
visitLibraryField
in interface MemberVisitor
public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod)
visitProgramMethod
in interface MemberVisitor
public void visitLibraryMethod(LibraryClass libraryClass, LibraryMethod libraryMethod)
visitLibraryMethod
in interface MemberVisitor