Lines Matching defs:aspects
43 List<MethodAspect> aspects = Lists.newArrayList();
50 aspects.add(new MethodAspect(any(), any(), interceptor));
51 ProxyFactory<Simple> factory = new ProxyFactory<Simple>(injectionPoint, aspects);
82 aspects.add(new MethodAspect(only(Bar.class), annotatedWith(Intercept.class), interceptor));
85 = new ProxyFactory<Foo>(InjectionPoint.forConstructorOf(Foo.class), aspects).create();
87 = new ProxyFactory<Bar>(InjectionPoint.forConstructorOf(Bar.class), aspects).create();
135 aspects.add(new MethodAspect(any(), any(), interceptor));
137 = new ProxyFactory<A>(InjectionPoint.forConstructorOf(A.class), aspects);
150 aspects.add(new MethodAspect(not(any()), not(any()), interceptor));
152 = new ProxyFactory<A>(InjectionPoint.forConstructorOf(A.class), aspects);
173 aspects.add(new MethodAspect(any(), any(), doubleInterceptor, countingInterceptor));
175 = new ProxyFactory<Counter>(InjectionPoint.forConstructorOf(Counter.class), aspects);