Package proguard.classfile.visitor
Interface ParameterVisitor
-
- All Known Implementing Classes:
BasicInvocationUnit
,ExecutingInvocationUnit
,ReferenceTracingInvocationUnit
,SimplifiedInvocationUnit
public interface ParameterVisitor
This interface specifies the methods for a visitor of method parameters or field types (which can be considered parameters when storing values). The parameters do not include or count the 'this' parameter or the method return value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
visitParameter(Clazz clazz, Member member, int parameterIndex, int parameterCount, int parameterOffset, int parameterSize, java.lang.String parameterType, Clazz referencedClass)
Visits the given parameter.
-
-
-
Method Detail
-
visitParameter
void visitParameter(Clazz clazz, Member member, int parameterIndex, int parameterCount, int parameterOffset, int parameterSize, java.lang.String parameterType, Clazz referencedClass)
Visits the given parameter.- Parameters:
clazz
- the class of the method.member
- the field or method of the parameter.parameterIndex
- the index of the parameter.parameterCount
- the total number of parameters.parameterOffset
- the offset of the parameter, accounting for longs and doubles taking up two entries.parameterSize
- the total size of the parameters, accounting for longs and doubles taking up two entries.parameterType
- the parameter type.referencedClass
- the class contained in the parameter type, if any.
-
-