org_apache_struts_beanvalidation_BeanValidationInterceptorTest_java
org.hibernate.validator.internal.constraintvalidators.AbstractEmailValidator
public boolean isValid(CharSequence value, ConstraintValidatorContext context) {
        if (value == null || value.length() == 0) {
            return true;
        }
        String stringValue = value.toString();
        int splitPosition = stringValue.lastIndexOf(64);
        if (splitPosition < 0) {
            return false;
        }
        String localPart = stringValue.substring(0, splitPosition);
        String domainPart = stringValue.substring(splitPosition + 1);
        if (!this.isValidEmailLocalPart(localPart)) {
            return false;
        }
        return DomainNameUtil.isValidEmailDomainAddress(domainPart);
    }
 -> java.lang.CharSequence.length(): int -> java.lang.CharSequence.toString(): java.lang.String -> java.lang.String.lastIndexOf(int): int
 [CALL] [CALL] -> java.lang.CharSequence.length(): int -> java.lang.CharSequence.toString(): java.lang.String -> java.lang.String.lastIndexOf(int): int [EXIT] [EXIT]