public void visitParameter(Clazz clazz, Member member, int parameterIndex, int parameterCount, int parameterOffset, int parameterSize, String parameterType, Clazz referencedClass) { Method method = (Method)member; // Get the parameter value. Value value = getMethodParameterValue(clazz, method, parameterIndex, parameterType, referencedClass); // Store the value in the corresponding variable. variables.store(parameterOffset, value); }
public Value getMethodParameterValue(Clazz clazz, Method method, int parameterIndex, String type, Clazz referencedClass) { Value parameterValue = invocationUnit.getMethodParameterValue(clazz, method, parameterIndex, type, referencedClass); // We're attaching the parameter index as a trace value. It doesn't // take into account Category 2 values, so it is not compatible with // variable indices. return trace(parameterValue, parameterIndex | InstructionOffsetValue.METHOD_PARAMETER); }
public void visitParameter(Clazz clazz, Member member, int parameterIndex, int parameterCount, int parameterOffset, int parameterSize, String parameterType, Clazz referencedClass) { Method method = (Method)member; // Get the parameter value. Value value = getMethodParameterValue(clazz, method, parameterIndex, parameterType, referencedClass); // Store the value in the corresponding variable. variables.store(parameterOffset, value); }
public Value getMethodParameterValue(Clazz clazz, Method method, int parameterIndex, String type, Clazz referencedClass) { Value parameterValue = invocationUnit.getMethodParameterValue(clazz, method, parameterIndex, type, referencedClass); // We're attaching the parameter index as a trace value. It doesn't // take into account Category 2 values, so it is not compatible with // variable indices. return trace(parameterValue, parameterIndex | InstructionOffsetValue.METHOD_PARAMETER); }
public void visitParameter(Clazz clazz, Member member, int parameterIndex, int parameterCount, int parameterOffset, int parameterSize, String parameterType, Clazz referencedClass) { Method method = (Method)member; // Get the parameter value. Value value = getMethodParameterValue(clazz, method, parameterIndex, parameterType, referencedClass); // Store the value in the corresponding variable. variables.store(parameterOffset, value); }
public Value getMethodParameterValue(Clazz clazz, Method method, int parameterIndex, String type, Clazz referencedClass) { Value parameterValue = invocationUnit.getMethodParameterValue(clazz, method, parameterIndex, type, referencedClass); // We're attaching the parameter index as a trace value. It doesn't // take into account Category 2 values, so it is not compatible with // variable indices. return trace(parameterValue, parameterIndex | InstructionOffsetValue.METHOD_PARAMETER); }