public static Optional<ValidationManager> lookup() {
        ValidationManager manager = lookup.lookup(ValidationManager.class);
        if (manager != null) {
            return Optional.of(manager);
        } else {
            return Optional.absent();
        }
    }
public static Optional < ValidationManager > lookup ( ) { ValidationManager manager = lookup . lookup ( ValidationManager . class ) ; if ( manager != null ) { return Optional . of ( manager ) ; } else { return Optional . absent ( ) ; } }
Lookup the most suitable ValidationManager available.

@return ValidationManager.