@Test void validate() throws EvaluatorException { List<Field> inputs = Collections.singletonList( new Field("testinput", DataType.DOUBLE) ); EvaluatorTest evaluatorTest = new EvaluatorTest(inputs); Validator.validate(evaluatorTest); }
public static void validate(Evaluator<?> evaluator) throws EvaluatorException { if (evaluator.getClass().isAnnotationPresent(NumberOnly.class)) { checkNumbers(evaluator); } }
Validator { public static void validate(Evaluator<?> evaluator) throws EvaluatorException { if (evaluator.getClass().isAnnotationPresent(NumberOnly.class)) { checkNumbers(evaluator); } } }
Validator { public static void validate(Evaluator<?> evaluator) throws EvaluatorException { if (evaluator.getClass().isAnnotationPresent(NumberOnly.class)) { checkNumbers(evaluator); } }  }
Validator { public static void validate(Evaluator<?> evaluator) throws EvaluatorException { if (evaluator.getClass().isAnnotationPresent(NumberOnly.class)) { checkNumbers(evaluator); } }  static void validate(Evaluator<?> evaluator); }
Validator { public static void validate(Evaluator<?> evaluator) throws EvaluatorException { if (evaluator.getClass().isAnnotationPresent(NumberOnly.class)) { checkNumbers(evaluator); } }  static void validate(Evaluator<?> evaluator);  }