class FieldStateValidatorImpl implements FieldStateValidator {

    @PostConstruct
    public void initialize() {
        validators.put(String.class,
                       (String string) -> string != null && !string.isEmpty());
        validators.put(ArrayList.class,
                       (ArrayList list) -> list != null && !list.isEmpty());
    }

    @Inject public  FieldStateValidatorImpl(TranslationService translationService);

}