test_class.declarator: blacklistValidation
test_class.modifier: private
test_class.original_string: private TestableBlacklistValidation blacklistValidation;
test_class.type: TestableBlacklistValidation
test_class.var_name: blacklistValidation
test_class.file: ballroom/src/test/java/org/jboss/hal/ballroom/form/BlacklistValidationTest.java
test_class.identifier: BlacklistValidationTest
test_case.body: @Test
      public void validateEmpty() {
          assertSame(ValidationResult.OK, blacklistValidation.validate(""));
      }
test_case.class_method_signature: BlacklistValidationTest.validateEmpty()
test_case.full_signature: @Test public void validateEmpty()
test_case.identifier: validateEmpty
test_case.invocations: assertSame validate
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void validateEmpty()
focal_class.declarator: MESSAGES = GWT.create(Messages.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Messages MESSAGES = GWT.create(Messages.class);
focal_class.type: Messages
focal_class.var_name: MESSAGES
focal_class.declarator: blacklist
focal_class.modifier: private final
focal_class.original_string: private final SortedSet<String> blacklist;
focal_class.type: SortedSet<String>
focal_class.var_name: blacklist
focal_class.file: ballroom/src/main/java/org/jboss/hal/ballroom/form/BlacklistValidation.java
focal_class.identifier: BlacklistValidation
focal_class.interfaces: implements FormItemValidation<Object>
focal_class.class_method_signature: BlacklistValidation.BlacklistValidation(final String first, final String... rest)
focal_class.full_signature: public  BlacklistValidation(final String first, final String... rest)
focal_class.identifier: BlacklistValidation
focal_class.modifiers: public
focal_class.parameters: (final String first, final String... rest)
focal_class.signature:  BlacklistValidation(final String first, final String... rest)
focal_class.class_method_signature: BlacklistValidation.BlacklistValidation(Iterable<String> blacklist)
focal_class.full_signature: public  BlacklistValidation(Iterable<String> blacklist)
focal_class.identifier: BlacklistValidation
focal_class.modifiers: public
focal_class.parameters: (Iterable<String> blacklist)
focal_class.signature:  BlacklistValidation(Iterable<String> blacklist)
focal_class.class_method_signature: BlacklistValidation.validate(final Object value)
focal_class.full_signature: @Override public ValidationResult validate(final Object value)
focal_class.identifier: validate
focal_class.modifiers: @Override public
focal_class.parameters: (final Object value)
focal_class.return: ValidationResult
focal_class.signature: ValidationResult validate(final Object value)
focal_class.class_method_signature: BlacklistValidation.errorMessage()
focal_class.full_signature: protected String errorMessage()
focal_class.identifier: errorMessage
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String errorMessage()
focal_method.body: @Override
      public ValidationResult validate(final Object value) {
          if (value == null || String.valueOf(value).trim().length() == 0) {
              return ValidationResult.OK;
          } else {
              //noinspection SuspiciousMethodCalls
              return blacklist.contains(value) ? ValidationResult.invalid(errorMessage()) : ValidationResult.OK;
          }
      }
focal_method.class_method_signature: BlacklistValidation.validate(final Object value)
focal_method.full_signature: @Override public ValidationResult validate(final Object value)
focal_method.identifier: validate
focal_method.invocations: length trim valueOf contains invalid errorMessage
focal_method.modifiers: @Override public
focal_method.parameters: (final Object value)
focal_method.return: ValidationResult
focal_method.signature: ValidationResult validate(final Object value)