test_class.declarator: extractor
test_class.original_string: ModuleDataExtractor extractor;
test_class.type: ModuleDataExtractor
test_class.var_name: extractor
test_class.declarator: module
test_class.original_string: Module module;
test_class.type: Module
test_class.var_name: module
test_class.declarator: rootContext
test_class.original_string: AnnotationConfigWebApplicationContext rootContext;
test_class.type: AnnotationConfigWebApplicationContext
test_class.var_name: rootContext
test_class.declarator: data
test_class.original_string: ServerData data;
test_class.type: ServerData
test_class.var_name: data
test_class.declarator: filters
test_class.original_string: Map<String, Filter> filters;
test_class.type: Map<String, Filter>
test_class.var_name: filters
test_class.file: micro-core/src/test/java/com/oath/micro/server/module/ModuleDataExtractorTest.java
test_class.identifier: ModuleDataExtractorTest
test_case.body: @Test
  	public void testGetRestResources() {
  		extractor.getRestResources(rootContext);
  		verify(rootContext,times(1)).getBeansOfType(ModuleDataExtractorTest.class);
  	}
test_case.class_method_signature: ModuleDataExtractorTest.testGetRestResources()
test_case.full_signature: @Test public void testGetRestResources()
test_case.identifier: testGetRestResources
test_case.invocations: getRestResources getBeansOfType verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetRestResources()
focal_class.declarator: module
focal_class.modifier: private final
focal_class.original_string: private final Module module;
focal_class.type: Module
focal_class.var_name: module
focal_class.file: micro-core/src/main/java/com/oath/micro/server/module/ModuleDataExtractor.java
focal_class.identifier: ModuleDataExtractor
focal_class.class_method_signature: ModuleDataExtractor.getRestResources(ApplicationContext rootContext)
focal_class.full_signature: public LinkedListX getRestResources(ApplicationContext rootContext)
focal_class.identifier: getRestResources
focal_class.modifiers: public
focal_class.parameters: (ApplicationContext rootContext)
focal_class.return: LinkedListX
focal_class.signature: LinkedListX getRestResources(ApplicationContext rootContext)
focal_class.class_method_signature: ModuleDataExtractor.createFilteredDataList(ServerData data)
focal_class.full_signature: public List<FilterData> createFilteredDataList(ServerData data)
focal_class.identifier: createFilteredDataList
focal_class.modifiers: public
focal_class.parameters: (ServerData data)
focal_class.return: List<FilterData>
focal_class.signature: List<FilterData> createFilteredDataList(ServerData data)
focal_class.class_method_signature: ModuleDataExtractor.createServletDataList(ServerData data)
focal_class.full_signature: public List<ServletData> createServletDataList(ServerData data)
focal_class.identifier: createServletDataList
focal_class.modifiers: public
focal_class.parameters: (ServerData data)
focal_class.return: List<ServletData>
focal_class.signature: List<ServletData> createServletDataList(ServerData data)
focal_method.body: public LinkedListX getRestResources(ApplicationContext rootContext){
  		
  			List resources = new ArrayList<>();
  			module.getRestResourceClasses().forEach(it -> resources.addAll(rootContext.getBeansOfType(it).values()));
  			module.getRestAnnotationClasses().forEach(it -> resources.addAll(rootContext.getBeansWithAnnotation(it).values()));
  			rootContext.getBeansWithAnnotation(JaxRsResource.class).forEach((n,it)->resources.add(it));
  			rootContext.getBeansOfType(JaxRsResourceWrapper.class).forEach((n,it)->resources.add(it.getResource()));
  			resources.addAll(module.getJaxRsResourceObjects());
  			return LinkedListX.fromIterable(resources);
  		
  	}
focal_method.class_method_signature: ModuleDataExtractor.getRestResources(ApplicationContext rootContext)
focal_method.full_signature: public LinkedListX getRestResources(ApplicationContext rootContext)
focal_method.identifier: getRestResources
focal_method.invocations: forEach getRestResourceClasses addAll values getBeansOfType forEach getRestAnnotationClasses addAll values getBeansWithAnnotation forEach getBeansWithAnnotation add forEach getBeansOfType add getResource addAll getJaxRsResourceObjects fromIterable
focal_method.modifiers: public
focal_method.parameters: (ApplicationContext rootContext)
focal_method.return: LinkedListX
focal_method.signature: LinkedListX getRestResources(ApplicationContext rootContext)