private Object[] paramsFromSource() { if (sourceClassUndefined()) return new Object[] {}; Class<?> sourceClass = parametersAnnotation.source(); return fillResultWithAllParamProviderMethods(sourceClass); }
private boolean sourceClassUndefined() { return parametersAnnotation.source().isAssignableFrom(NullType.class); }