if (string != null) { for (int i = 0; i < string.length(); i++) { if (!Character.isJavaIdentifierPart(string.charAt(i))) { final ParameterError error = new ParameterError (this, "The value may contain letters, digits, " + "and underscores only"); break; }
for (int i = 0; i < string.length(); i++) { if (!Character.isJavaIdentifierPart(string.charAt(i))) { final ParameterError error = new ParameterError (this, "The value may contain letters, digits, " + "and underscores only"); break;
    public void validate(final Object value, final ErrorList errors) {        super.validate(value, errors);        final String string = (String) value;        if (string != null) {            for (int i = 0; i < string.length(); i++) {                if (!Character.isJavaIdentifierPart(string.charAt(i))) {                    final ParameterError error = new ParameterError                        (this, "The value may contain letters, digits, " +                         "and underscores only");                    break;                }            }        }    }