@Test public void testMatchesName() { Assert.assertTrue(ObjectClassMatcher.matchesName("org.apache.TestClass", "TestClass")); Assert.assertTrue(ObjectClassMatcher.matchesName("TestClass", "TestClass")); }
static boolean matchesName(String name, String pattern) { return name.equals(pattern) || getShortName(name).equals(pattern); }
ObjectClassMatcher { static boolean matchesName(String name, String pattern) { return name.equals(pattern) || getShortName(name).equals(pattern); } }
ObjectClassMatcher { static boolean matchesName(String name, String pattern) { return name.equals(pattern) || getShortName(name).equals(pattern); } private  ObjectClassMatcher(); }
ObjectClassMatcher { static boolean matchesName(String name, String pattern) { return name.equals(pattern) || getShortName(name).equals(pattern); } private  ObjectClassMatcher();  }
ObjectClassMatcher { static boolean matchesName(String name, String pattern) { return name.equals(pattern) || getShortName(name).equals(pattern); } private  ObjectClassMatcher();   }