@Test public void testMatch_1() throws Exception { assertTrue(matcher.match("foo.A", "foo.A")); assertTrue(matcher.match("foo.A", "foo.*")); assertTrue(matcher.match("foo.Air123", "foo.*")); assertFalse(matcher.match("foo1.Air123", "foo.*")); assertFalse(matcher.match("foo.p.A", "foo.*")); assertTrue(matcher.match("foo.A", "foo.**")); assertTrue(matcher.match("foo.p1.B", "foo.**")); assertFalse(matcher.match("foo1.A", "foo.**")); }
@Override public boolean match(String className, String pattern) { return matchExactlyFullQualifiedClassName(className, pattern) || matchFullQualifiedPackageNameAndItsSubPackage(className, pattern) || matchFullQualifiedPackageName(className, pattern); }
DefaultLandMatcher implements LandMatcher { @Override public boolean match(String className, String pattern) { return matchExactlyFullQualifiedClassName(className, pattern) || matchFullQualifiedPackageNameAndItsSubPackage(className, pattern) || matchFullQualifiedPackageName(className, pattern); } }
DefaultLandMatcher implements LandMatcher { @Override public boolean match(String className, String pattern) { return matchExactlyFullQualifiedClassName(className, pattern) || matchFullQualifiedPackageNameAndItsSubPackage(className, pattern) || matchFullQualifiedPackageName(className, pattern); }  }
DefaultLandMatcher implements LandMatcher { @Override public boolean match(String className, String pattern) { return matchExactlyFullQualifiedClassName(className, pattern) || matchFullQualifiedPackageNameAndItsSubPackage(className, pattern) || matchFullQualifiedPackageName(className, pattern); }  @Override boolean match(String className, String pattern); @Override boolean validate(String pattern); }
DefaultLandMatcher implements LandMatcher { @Override public boolean match(String className, String pattern) { return matchExactlyFullQualifiedClassName(className, pattern) || matchFullQualifiedPackageNameAndItsSubPackage(className, pattern) || matchFullQualifiedPackageName(className, pattern); }  @Override boolean match(String className, String pattern); @Override boolean validate(String pattern);  }