question: public boolean validateWith ( @ NonNull METValidator validator ) { CharSequence text = getText ( ) ; boolean isValid = validator . isValid ( text , text . length ( ) == 0 ) ; if ( ! isValid ) { setError ( validator . getErrorMessage ( ) ) ; } postInvalidate ( ) ; return isValid ; }
target:  Run validation on a single validator instance