Lines Matching refs:Bar
82 aspects.add(new MethodAspect(only(Bar.class), annotatedWith(Intercept.class), interceptor));
86 ConstructionProxy<Bar> barFactory
87 = new ProxyFactory<Bar>(InjectionPoint.forConstructorOf(Bar.class), aspects).create();
90 Bar bar = barFactory.newInstance();
96 bar.bar();
97 assertTrue(bar.barCalled);
100 bar.intercepted();
101 assertTrue(bar.interceptedCalled);
113 static class Bar {
116 void bar() {