test_class.declarator: consumer
test_class.modifier: @Inject
      private
test_class.original_string: @Inject
      private Consumer consumer;
test_class.type: Consumer
test_class.var_name: consumer
test_class.declarator: helloProxy
test_class.modifier: @Inject
      private
test_class.original_string: @Inject
      private JaxrsProxyReference<HelloService> helloProxy;
test_class.type: JaxrsProxyReference<HelloService>
test_class.var_name: helloProxy
test_class.file: cdi/container/src/test/java/org/microbule/cdi/container/CdiContainerTest.java
test_class.identifier: CdiContainerTest
test_class.superclass: extends CdiTestCase
test_case.body: @Test
      public void testServers() {
          assertEquals(1, consumer.getServerDefinitions().size());
      }
test_case.class_method_signature: CdiContainerTest.testServers()
test_case.full_signature: @Test public void testServers()
test_case.identifier: testServers
test_case.invocations: assertEquals size getServerDefinitions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testServers()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(CdiContainer.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(CdiContainer.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: beanManager
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private BeanManager beanManager;
focal_class.type: BeanManager
focal_class.var_name: beanManager
focal_class.file: cdi/container/src/main/java/org/microbule/cdi/container/CdiContainer.java
focal_class.identifier: CdiContainer
focal_class.class_method_signature: CdiContainer.onInitialized(@Observes @Initialized(ApplicationScoped.class) Object init)
focal_class.full_signature: public void onInitialized(@Observes @Initialized(ApplicationScoped.class) Object init)
focal_class.identifier: onInitialized
focal_class.modifiers: public
focal_class.parameters: (@Observes @Initialized(ApplicationScoped.class) Object init)
focal_class.return: void
focal_class.signature: void onInitialized(@Observes @Initialized(ApplicationScoped.class) Object init)
focal_class.class_method_signature: CdiContainer.plugins(Class<B> pluginType)
focal_class.full_signature: @Override protected Iterable<B> plugins(Class<B> pluginType)
focal_class.identifier: plugins
focal_class.modifiers: @Override protected
focal_class.parameters: (Class<B> pluginType)
focal_class.return: Iterable<B>
focal_class.signature: Iterable<B> plugins(Class<B> pluginType)
focal_class.class_method_signature: CdiContainer.servers()
focal_class.full_signature: @Override protected Iterable<ServerDefinition> servers()
focal_class.identifier: servers
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: Iterable<ServerDefinition>
focal_class.signature: Iterable<ServerDefinition> servers()
focal_class.superclass: extends StaticContainer
focal_method.body: @Override
      protected Iterable<ServerDefinition> servers() {
          return beanManager.getBeans(Object.class).stream()
                  .flatMap(bean -> ClassUtils.getAllInterfaces(bean.getBeanClass()).stream().map(serviceInterface -> new ImmutablePair<>(bean, serviceInterface)))
                  .filter(pair -> pair.getRight().isAnnotationPresent(Path.class))
                  .map(pair -> {
                      final Bean<?> bean = pair.getLeft();
                      final Object reference = beanManager.getReference(bean, Object.class, beanManager.createCreationalContext(bean));
                      return new DefaultServerDefinition(bean.getName(), pair.getRight(), reference);
                  }).collect(Collectors.toList());
      }
focal_method.class_method_signature: CdiContainer.servers()
focal_method.full_signature: @Override protected Iterable<ServerDefinition> servers()
focal_method.identifier: servers
focal_method.invocations: collect map filter flatMap stream getBeans map stream getAllInterfaces getBeanClass isAnnotationPresent getRight getLeft getReference createCreationalContext getName getRight toList
focal_method.modifiers: @Override protected
focal_method.parameters: ()
focal_method.return: Iterable<ServerDefinition>
focal_method.signature: Iterable<ServerDefinition> servers()