Constructor Detail

SetNextRule

paramType - Java class of the parent method's argument
(if you wish to use a primitive type, specify the corresponding
Java wrapper class instead, such as java.lang.Boolean
for a boolean parameter)

Method Detail

isExactMatch

public boolean isExactMatch()

Is exact matching being used.

This rule uses org.apache.commons.beanutils.MethodUtils
to introspect the relevant objects so that the right method can be called.
Originally, MethodUtils.invokeExactMethod was used.
This matches methods very strictly
and so may not find a matching method when one exists.
This is still the behaviour when exact matching is enabled.

When exact matching is disabled, MethodUtils.invokeMethod is used.
This method finds more methods but is less precise when there are several methods
with correct signatures.
So, if you want to choose an exact signature you might need to enable this property.