@Override
    public Map<String, String> loadDocStrings(Set<ServiceConfig> serviceConfigs) {
        return serviceConfigs.stream()
                             .flatMap(c -> c.service().as(THttpService.class).get().entries().values().stream())
                             .flatMap(entry -> entry.interfaces().stream().map(Class::getClassLoader))
                             .flatMap(loader -> docstringExtractor.getAllDocStrings(loader)
                                                                  .entrySet().stream())
                             .collect(toImmutableMap(Map.Entry::getKey, Map.Entry::getValue, (a, b) -> a));
    }
@ Override public Map < String , String > loadDocStrings ( Set < ServiceConfig > serviceConfigs ) { return serviceConfigs . stream ( ) . flatMap ( c -> c . service ( ) . as ( THttpService . class ) . get ( ) . entries ( ) . values ( ) . stream ( ) ) . flatMap ( entry -> entry . interfaces ( ) . stream ( ) . map ( Class :: getClassLoader ) ) . flatMap ( loader -> docstringExtractor . getAllDocStrings ( loader ) . entrySet ( ) . stream ( ) ) . collect ( toImmutableMap ( Map . Entry :: getKey , Map . Entry :: getValue , ( a , b ) -> a ) ) ; }
Methods related with extracting documentation strings.