Class TypeShed


  • public class TypeShed
    extends Object
    • Method Detail

      • typeShedClass

        public static ClassSymbol typeShedClass​(String fullyQualifiedName)
      • symbolsForModule

        public static Map<String,​Symbol> symbolsForModule​(String moduleName)
        Returns map of exported symbols by name for a given module
      • symbolWithFQN

        @CheckForNull
        public static Symbol symbolWithFQN​(String stdLibModuleName,
                                           String fullyQualifiedName)
      • symbolWithFQN

        @CheckForNull
        public static Symbol symbolWithFQN​(String fullyQualifiedName)
      • stubFilesSymbols

        public static Collection<Symbol> stubFilesSymbols()
        Returns stub symbols to be used by SonarSecurity. Ambiguous symbols that only contain class symbols are disambiguated with latest Python version.
      • stubModules

        public static Set<String> stubModules()
      • normalizedFqn

        public static String normalizedFqn​(String fqn)
      • isValidForProjectPythonVersion

        public static boolean isValidForProjectPythonVersion​(List<String> validForPythonVersions)
      • symbolsFromProtobufDescriptors

        public static Set<Symbol> symbolsFromProtobufDescriptors​(Set<Object> protobufDescriptors,
                                                                 @Nullable
                                                                 String containerClassFqn,
                                                                 String moduleName,
                                                                 boolean isFromClass)
      • resetBuiltinSymbols

        public static void resetBuiltinSymbols()