class SuperclassMatcher extends AbstractWildcardMatcher {

  public SuperclassMatcher(final String expression) {
    super(expression);
  }

}

class TestSuperclassMatcher {

  private final static ClassPool pool;

  @Test
  public void testSuperclassMatcher() throws Exception {

    SuperclassMatcher superclassMatcher = new SuperclassMatcher("org.gzoltar.*.Abstract*");
    CtClass ctClass = pool.get(PublicModifiers.class.getCanonicalName());
    assertTrue(superclassMatcher.matches(ctClass));
  }

}