@Test public void testValidationWhenVariableNameContainsReservedKeyword() { assertThat(FEELSyntaxLightValidator.isVariableNameValid("name for variable")).isTrue(); }
public static boolean isVariableNameValid(final String variableName) { return notEmpty(variableName) && firstCharacterIsValid(variableName) && firstWordIsNotReservedKeyword(variableName) && doesNotContainForbiddenChars(variableName); }
FEELSyntaxLightValidator { public static boolean isVariableNameValid(final String variableName) { return notEmpty(variableName) && firstCharacterIsValid(variableName) && firstWordIsNotReservedKeyword(variableName) && doesNotContainForbiddenChars(variableName); } }
FEELSyntaxLightValidator { public static boolean isVariableNameValid(final String variableName) { return notEmpty(variableName) && firstCharacterIsValid(variableName) && firstWordIsNotReservedKeyword(variableName) && doesNotContainForbiddenChars(variableName); }  }
FEELSyntaxLightValidator { public static boolean isVariableNameValid(final String variableName) { return notEmpty(variableName) && firstCharacterIsValid(variableName) && firstWordIsNotReservedKeyword(variableName) && doesNotContainForbiddenChars(variableName); }  static boolean isVariableNameValid(final String variableName); }
FEELSyntaxLightValidator { public static boolean isVariableNameValid(final String variableName) { return notEmpty(variableName) && firstCharacterIsValid(variableName) && firstWordIsNotReservedKeyword(variableName) && doesNotContainForbiddenChars(variableName); }  static boolean isVariableNameValid(final String variableName);  }