@Test public void testIsPatternRecognized() { assertTrue(factory.isPatternRecognized("my*pattern")); assertFalse(factory.isPatternRecognized("mypattern")); }
public boolean isPatternRecognized(String candidatePattern) { return candidatePattern.indexOf('*') >= 0; }
WildcardDefinitionPatternMatcherFactory implements
        DefinitionPatternMatcherFactory, PatternRecognizer { public boolean isPatternRecognized(String candidatePattern) { return candidatePattern.indexOf('*') >= 0; } }
WildcardDefinitionPatternMatcherFactory implements
        DefinitionPatternMatcherFactory, PatternRecognizer { public boolean isPatternRecognized(String candidatePattern) { return candidatePattern.indexOf('*') >= 0; }  }
WildcardDefinitionPatternMatcherFactory implements
        DefinitionPatternMatcherFactory, PatternRecognizer { public boolean isPatternRecognized(String candidatePattern) { return candidatePattern.indexOf('*') >= 0; }  DefinitionPatternMatcher createDefinitionPatternMatcher(
            String pattern, Definition definition); boolean isPatternRecognized(String candidatePattern); }
WildcardDefinitionPatternMatcherFactory implements
        DefinitionPatternMatcherFactory, PatternRecognizer { public boolean isPatternRecognized(String candidatePattern) { return candidatePattern.indexOf('*') >= 0; }  DefinitionPatternMatcher createDefinitionPatternMatcher(
            String pattern, Definition definition); boolean isPatternRecognized(String candidatePattern);  }