TypeShed { static Set<Symbol> typingModuleSymbols() { Map<String, Symbol> typingPython3 = getModuleSymbols(TYPING, STDLIB_3, Collections.emptyMap()); Map<String, Symbol> typingPython2 = getModuleSymbols(TYPING, STDLIB_2, Collections.emptyMap()); return commonSymbols(typingPython2, typingPython3, TYPING); } private  TypeShed(); static Map<String, Symbol> builtinSymbols(); static Set<Symbol> symbolsForModule(String moduleName); @CheckForNull static Symbol symbolWithFQN(String stdLibModuleName, String fullyQualifiedName); static ClassSymbol typeShedClass(String fullyQualifiedName); static Collection<Symbol> stubFilesSymbols();  }
@Test public void typing_module() { Map<String, Symbol> symbols = TypeShed.typingModuleSymbols().stream().collect(Collectors.toMap(Symbol::name, Function.identity())); assertThat(symbols.values()).allMatch(symbol -> symbol.usages().isEmpty()); assertThat(symbols.get("Awaitable").kind()).isEqualTo(Kind.CLASS); assertThat(symbols.get("Iterator").kind()).isEqualTo(Kind.AMBIGUOUS); }