@Test public void testJUnitClassWithInnerClass() throws Exception { JUnitMatcher matcher = new JUnitMatcher(); CtClass ctClass = pool.get(JUnitClassWithInnerClass.class.getName()); assertTrue(matcher.matches(ctClass)); ctClass = pool.get(SomeStaticInnerClass.class.getName()); assertTrue(matcher.matches(ctClass)); }
@Override public boolean matches(final CtClass ctClass) { return this.matcher.matches(ctClass); }
JUnitMatcher implements IMatcher { @Override public boolean matches(final CtClass ctClass) { return this.matcher.matches(ctClass); } }
JUnitMatcher implements IMatcher { @Override public boolean matches(final CtClass ctClass) { return this.matcher.matches(ctClass); } JUnitMatcher(); }
JUnitMatcher implements IMatcher { @Override public boolean matches(final CtClass ctClass) { return this.matcher.matches(ctClass); } JUnitMatcher(); @Override boolean matches(final CtClass ctClass); @Override boolean matches(final CtBehavior ctBehavior); @Override boolean matches(final CtField ctField); }
JUnitMatcher implements IMatcher { @Override public boolean matches(final CtClass ctClass) { return this.matcher.matches(ctClass); } JUnitMatcher(); @Override boolean matches(final CtClass ctClass); @Override boolean matches(final CtBehavior ctBehavior); @Override boolean matches(final CtField ctField); final IMatcher matcher; }