test_class.declarator: wildcardHelper
test_class.modifier: private
test_class.original_string: private WildcardHelper wildcardHelper;
test_class.type: WildcardHelper
test_class.var_name: wildcardHelper
test_class.file: herd-code/herd-core/src/test/java/org/finra/herd/core/helper/WildcardHelperTest.java
test_class.identifier: WildcardHelperTest
test_case.body: @Test
      public void testMatchesAssertDoesStringEqualWhenExpressionDoesNotStartWithWildcard()
      {
          assertTrue(wildcardHelper.matches("a*", "a*"));
          assertFalse(wildcardHelper.matches("ab", "a*"));
      }
test_case.class_method_signature: WildcardHelperTest.testMatchesAssertDoesStringEqualWhenExpressionDoesNotStartWithWildcard()
test_case.full_signature: @Test public void testMatchesAssertDoesStringEqualWhenExpressionDoesNotStartWithWildcard()
test_case.identifier: testMatchesAssertDoesStringEqualWhenExpressionDoesNotStartWithWildcard
test_case.invocations: assertTrue matches assertFalse matches
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMatchesAssertDoesStringEqualWhenExpressionDoesNotStartWithWildcard()
focal_class.declarator: WILDCARD_TOKEN = "*"
focal_class.modifier: public static final
focal_class.original_string: public static final String WILDCARD_TOKEN = "*";
focal_class.type: String
focal_class.var_name: WILDCARD_TOKEN
focal_class.file: herd-code/herd-core/src/main/java/org/finra/herd/core/helper/WildcardHelper.java
focal_class.identifier: WildcardHelper
focal_class.class_method_signature: WildcardHelper.matches(String string, String expression)
focal_class.full_signature: public boolean matches(String string, String expression)
focal_class.identifier: matches
focal_class.modifiers: public
focal_class.parameters: (String string, String expression)
focal_class.return: boolean
focal_class.signature: boolean matches(String string, String expression)
focal_method.body: public boolean matches(String string, String expression)
      {
          if (expression.startsWith(WILDCARD_TOKEN))
          {
              return string.endsWith(expression.substring(WILDCARD_TOKEN.length()));
          }
          return Objects.equals(expression, string);
      }
focal_method.class_method_signature: WildcardHelper.matches(String string, String expression)
focal_method.full_signature: public boolean matches(String string, String expression)
focal_method.identifier: matches
focal_method.invocations: startsWith endsWith substring length equals
focal_method.modifiers: public
focal_method.parameters: (String string, String expression)
focal_method.return: boolean
focal_method.signature: boolean matches(String string, String expression)