- AnnotatedType<MyPojo> type = beanManager.createAnnotatedType(MyPojo.class);
- InjectionTarget<MyPojo> target = beanManager.createInjectionTarget(type);
- CreationalContext<MyPojo> ctx = beanManager.createCreationalContext(null);
+ AnnotatedType<MyPojo> type = setup.getBeanManager().createAnnotatedType(MyPojo.class);
+ InjectionTarget<MyPojo> target = setup.getBeanManager().createInjectionTarget(type);
+ CreationalContext<MyPojo> ctx = setup.getBeanManager().createCreationalContext(null);