Package org.sonar.python.types
Class TypeShed
- java.lang.Object
-
- org.sonar.python.types.TypeShed
-
public class TypeShed extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Symbol>builtinSymbols()static booleanisValidForProjectPythonVersion(List<String> validForPythonVersions)static StringnormalizedFqn(String fqn)static Collection<Symbol>stubFilesSymbols()static Set<Symbol>symbolsForModule(String moduleName)static Set<Symbol>symbolsFromDescriptor(Set<Object> descriptors, boolean isInsideClass)static SymbolsymbolWithFQN(String fullyQualifiedName)static SymbolsymbolWithFQN(String stdLibModuleName, String fullyQualifiedName)static ClassSymboltypeShedClass(String fullyQualifiedName)
-
-
-
Method Detail
-
symbolWithFQN
@CheckForNull public static Symbol symbolWithFQN(String stdLibModuleName, String fullyQualifiedName)
-
typeShedClass
public static ClassSymbol typeShedClass(String fullyQualifiedName)
-
stubFilesSymbols
public static Collection<Symbol> stubFilesSymbols()
-
isValidForProjectPythonVersion
public static boolean isValidForProjectPythonVersion(List<String> validForPythonVersions)
-
symbolsFromDescriptor
public static Set<Symbol> symbolsFromDescriptor(Set<Object> descriptors, boolean isInsideClass)
-
symbolWithFQN
@CheckForNull public static Symbol symbolWithFQN(String fullyQualifiedName)
-
-