SuperclassMatcher extends AbstractWildcardMatcher { public SuperclassMatcher(final String expression) { super(expression); } SuperclassMatcher(final String expression); @Override boolean matches(final CtClass ctClass); @Override boolean matches(final CtBehavior ctBehavior); @Override boolean matches(final CtField ctField);  }
@Test public void testSuperclassMatcher() throws Exception { SuperclassMatcher superclassMatcher = new SuperclassMatcher("org.gzoltar.*.Abstract*"); CtClass ctClass = pool.get(PublicModifiers.class.getCanonicalName()); assertTrue(superclassMatcher.matches(ctClass)); }