Package proguard.classfile.util
Class AllParameterVisitor
- java.lang.Object
-
- proguard.classfile.util.AllParameterVisitor
-
- All Implemented Interfaces:
MemberVisitor
public class AllParameterVisitor extends java.lang.Object implements MemberVisitor
ThisMemberVisitor
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 Summary
Constructors Constructor Description AllParameterVisitor(boolean includeThisParameter, ParameterVisitor parameterVisitor)
Creates a new AllParameterVisitor for the given parameter visitor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface proguard.classfile.visitor.MemberVisitor
visitAnyMember, visitLibraryMember, visitProgramMember
-
-
-
-
Constructor Detail
-
AllParameterVisitor
public AllParameterVisitor(boolean includeThisParameter, ParameterVisitor parameterVisitor)
Creates a new AllParameterVisitor for the given parameter visitor.- Parameters:
includeThisParameter
- specifies whether to visit the 'this' parameters.parameterVisitor
- the visitor for the parameters of the visited methods.
-
-
Method Detail
-
visitProgramField
public void visitProgramField(ProgramClass programClass, ProgramField programField)
- Specified by:
visitProgramField
in interfaceMemberVisitor
-
visitLibraryField
public void visitLibraryField(LibraryClass libraryClass, LibraryField libraryField)
- Specified by:
visitLibraryField
in interfaceMemberVisitor
-
visitProgramMethod
public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod)
- Specified by:
visitProgramMethod
in interfaceMemberVisitor
-
visitLibraryMethod
public void visitLibraryMethod(LibraryClass libraryClass, LibraryMethod libraryMethod)
- Specified by:
visitLibraryMethod
in interfaceMemberVisitor
-
-