test_class.file: code-assert-core/src/test/java/guru/nidi/codeassert/config/LocationMatcherTest.java
test_class.identifier: LocationMatcherTest
test_case.body: @Test
      void bothWildcard() {
          final LocationMatcher m = new LocationMatcher(Location.of("*pa*"));
          assertTrue(m.matchesPackage("pa"));
          assertTrue(m.matchesPackage("xxxpa"));
          assertTrue(m.matchesPackage("paxxx"));
          assertFalse(m.matchesPackage(""));
      }
test_case.class_method_signature: LocationMatcherTest.bothWildcard()
test_case.full_signature: @Test void bothWildcard()
test_case.identifier: bothWildcard
test_case.invocations: of assertTrue matchesPackage assertTrue matchesPackage assertTrue matchesPackage assertFalse matchesPackage
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void bothWildcard()
focal_class.declarator: loc
focal_class.modifier: private final
focal_class.original_string: private final Location loc;
focal_class.type: Location
focal_class.var_name: loc
focal_class.file: code-assert-core/src/main/java/guru/nidi/codeassert/config/LocationMatcher.java
focal_class.identifier: LocationMatcher
focal_class.interfaces: implements Comparable<LocationMatcher>
focal_class.class_method_signature: LocationMatcher.LocationMatcher(Location location)
focal_class.full_signature: public  LocationMatcher(Location location)
focal_class.identifier: LocationMatcher
focal_class.modifiers: public
focal_class.parameters: (Location location)
focal_class.signature:  LocationMatcher(Location location)
focal_class.class_method_signature: LocationMatcher.matchesPackage(String packageName)
focal_class.full_signature: public boolean matchesPackage(String packageName)
focal_class.identifier: matchesPackage
focal_class.modifiers: public
focal_class.parameters: (String packageName)
focal_class.return: boolean
focal_class.signature: boolean matchesPackage(String packageName)
focal_class.class_method_signature: LocationMatcher.matchesClass(String className)
focal_class.full_signature: public boolean matchesClass(String className)
focal_class.identifier: matchesClass
focal_class.modifiers: public
focal_class.parameters: (String className)
focal_class.return: boolean
focal_class.signature: boolean matchesClass(String className)
focal_class.class_method_signature: LocationMatcher.matchesPackageClass(String packageName, String className)
focal_class.full_signature: public boolean matchesPackageClass(String packageName, String className)
focal_class.identifier: matchesPackageClass
focal_class.modifiers: public
focal_class.parameters: (String packageName, String className)
focal_class.return: boolean
focal_class.signature: boolean matchesPackageClass(String packageName, String className)
focal_class.class_method_signature: LocationMatcher.matches(String packageName, String className, String methodName)
focal_class.full_signature: public boolean matches(String packageName, String className, String methodName)
focal_class.identifier: matches
focal_class.modifiers: public
focal_class.parameters: (String packageName, String className, String methodName)
focal_class.return: boolean
focal_class.signature: boolean matches(String packageName, String className, String methodName)
focal_class.class_method_signature: LocationMatcher.matchesLanguage(Language language)
focal_class.full_signature: public boolean matchesLanguage(Language language)
focal_class.identifier: matchesLanguage
focal_class.modifiers: public
focal_class.parameters: (Language language)
focal_class.return: boolean
focal_class.signature: boolean matchesLanguage(Language language)
focal_class.class_method_signature: LocationMatcher.specificity()
focal_class.full_signature: public int specificity()
focal_class.identifier: specificity
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int specificity()
focal_class.class_method_signature: LocationMatcher.specificity(String pattern)
focal_class.full_signature: private int specificity(String pattern)
focal_class.identifier: specificity
focal_class.modifiers: private
focal_class.parameters: (String pattern)
focal_class.return: int
focal_class.signature: int specificity(String pattern)
focal_class.class_method_signature: LocationMatcher.getPattern()
focal_class.full_signature: public String getPattern()
focal_class.identifier: getPattern
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPattern()
focal_class.class_method_signature: LocationMatcher.matchesAll(String pattern)
focal_class.full_signature: private boolean matchesAll(String pattern)
focal_class.identifier: matchesAll
focal_class.modifiers: private
focal_class.parameters: (String pattern)
focal_class.return: boolean
focal_class.signature: boolean matchesAll(String pattern)
focal_class.class_method_signature: LocationMatcher.matchesClassPattern(String pat, String name)
focal_class.full_signature: private boolean matchesClassPattern(String pat, String name)
focal_class.identifier: matchesClassPattern
focal_class.modifiers: private
focal_class.parameters: (String pat, String name)
focal_class.return: boolean
focal_class.signature: boolean matchesClassPattern(String pat, String name)
focal_class.class_method_signature: LocationMatcher.matchesPattern(String pat, String name)
focal_class.full_signature: static boolean matchesPattern(String pat, String name)
focal_class.identifier: matchesPattern
focal_class.modifiers: static
focal_class.parameters: (String pat, String name)
focal_class.return: boolean
focal_class.signature: boolean matchesPattern(String pat, String name)
focal_class.class_method_signature: LocationMatcher.doMatchesPattern(char start, char end, String pat, String name)
focal_class.full_signature: private static boolean doMatchesPattern(char start, char end, String pat, String name)
focal_class.identifier: doMatchesPattern
focal_class.modifiers: private static
focal_class.parameters: (char start, char end, String pat, String name)
focal_class.return: boolean
focal_class.signature: boolean doMatchesPattern(char start, char end, String pat, String name)
focal_class.class_method_signature: LocationMatcher.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: LocationMatcher.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: LocationMatcher.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: LocationMatcher.compareTo(LocationMatcher p)
focal_class.full_signature: @Override public int compareTo(LocationMatcher p)
focal_class.identifier: compareTo
focal_class.modifiers: @Override public
focal_class.parameters: (LocationMatcher p)
focal_class.return: int
focal_class.signature: int compareTo(LocationMatcher p)
focal_method.body: public boolean matchesPackage(String packageName) {
          return matchesPattern(loc.pack, packageName)
                  && matchesAll(loc.clazz) && matchesAll(loc.method);
      }
focal_method.class_method_signature: LocationMatcher.matchesPackage(String packageName)
focal_method.full_signature: public boolean matchesPackage(String packageName)
focal_method.identifier: matchesPackage
focal_method.invocations: matchesPattern matchesAll matchesAll
focal_method.modifiers: public
focal_method.parameters: (String packageName)
focal_method.return: boolean
focal_method.signature: boolean matchesPackage(String packageName)