run an individual verifier test against a declared method of the
remote interface.
ComponentNameConstructor compName = getVerifierContext().getComponentNameConstructor();
Class methodReturnType = method.getReturnType();
// The methods arguments types must be legal types for
// RMI-IIOP. This means that their return values must
// be of valid types for RMI-IIOP,
if (RmiIIOPUtils.isValidRmiIIOPReturnType(methodReturnType)) {
addGoodDetails(result, compName);
result.passed(smh.getLocalString
(getClass().getName() + ".passed",
"[ {0} ] properly declares method with valid RMI-IIOP return type.",
new Object[] {method.getDeclaringClass().getName()}));
} else {
addErrorDetails(result, compName);
result.failed(smh.getLocalString
(getClass().getName() + ".failed",
"Error: [ {0} ] method was found, but does not have valid " +
"RMI-IIOP return type.",
new Object[] {method.getName()}));
}