@Test void testCanCorrect() { assertTrue(validator.canCorrect()); }
@Override public boolean canCorrect() { return validators.stream() .map(ParameterValidator::canCorrect) .reduce(false, Boolean::logicalOr); }
RouteValidator implements ParameterValidator { @Override public boolean canCorrect() { return validators.stream() .map(ParameterValidator::canCorrect) .reduce(false, Boolean::logicalOr); } }
RouteValidator implements ParameterValidator { @Override public boolean canCorrect() { return validators.stream() .map(ParameterValidator::canCorrect) .reduce(false, Boolean::logicalOr); } RouteValidator(); }
RouteValidator implements ParameterValidator { @Override public boolean canCorrect() { return validators.stream() .map(ParameterValidator::canCorrect) .reduce(false, Boolean::logicalOr); } RouteValidator(); @Override String attemptToCorrect(Object route, final Map<String, Object> context); @Override boolean isValid(Object route, final Map<String, Object> context); @Override String getParameterName(); @Override Class<?> getContainerType(); @Override boolean canCorrect(); }
RouteValidator implements ParameterValidator { @Override public boolean canCorrect() { return validators.stream() .map(ParameterValidator::canCorrect) .reduce(false, Boolean::logicalOr); } RouteValidator(); @Override String attemptToCorrect(Object route, final Map<String, Object> context); @Override boolean isValid(Object route, final Map<String, Object> context); @Override String getParameterName(); @Override Class<?> getContainerType(); @Override boolean canCorrect();  }