@Test public void testValidateArgTypesWithTooManyArgs() { final Class<?>[] argTypes = { Double.class, Double.class, List.class }; assertNull("The validateArgTypes() method is buggy.", sf.validateArgTypes(argTypes)); }
public Class validateArgTypes(final Class[] argTypes) { return argTypesAreValid(argTypes) ? getReturnType() : null; }
AbstractFunction implements Function { public Class validateArgTypes(final Class[] argTypes) { return argTypesAreValid(argTypes) ? getReturnType() : null; } }
AbstractFunction implements Function { public Class validateArgTypes(final Class[] argTypes) { return argTypesAreValid(argTypes) ? getReturnType() : null; } protected  AbstractFunction(final ArgDescriptor[] argDescriptors); }
AbstractFunction implements Function { public Class validateArgTypes(final Class[] argTypes) { return argTypesAreValid(argTypes) ? getReturnType() : null; } protected  AbstractFunction(final ArgDescriptor[] argDescriptors); abstract String getName(); abstract String getFunctionSummary(); final String getUsageDescription(); abstract Class getReturnType(); Class validateArgTypes(final Class[] argTypes); abstract Object evaluateFunction(final Object[] args); final List<Class<?>> getPossibleArgTypes(final Class[] leadingArgs); }
AbstractFunction implements Function { public Class validateArgTypes(final Class[] argTypes) { return argTypesAreValid(argTypes) ? getReturnType() : null; } protected  AbstractFunction(final ArgDescriptor[] argDescriptors); abstract String getName(); abstract String getFunctionSummary(); final String getUsageDescription(); abstract Class getReturnType(); Class validateArgTypes(final Class[] argTypes); abstract Object evaluateFunction(final Object[] args); final List<Class<?>> getPossibleArgTypes(final Class[] leadingArgs);  }