protected <T> void detectAnnotation(@Observes final ProcessAnnotatedType<T> event) {
beans.put(event.getAnnotatedType().getJavaClass(), event.getAnnotatedType());
}
public void storeContexts(@Observes final AfterBeanDiscovery event) {
this.customContexts.add(new StaticContext());
this.afterBeanDiscoveryEvent = event;
}