Package org.sonar.plugins.python.api
Interface SubscriptionContext
public interface SubscriptionContext
-
Method Summary
Modifier and TypeMethodDescriptionaddFileIssue(String finalMessage) addIssue(LocationInFile location, String message) addLineIssue(String message, int lineNumber) List of Python versions this project is compatible with.Returns symbols declared in stub files (e.g. typeshed) used in the analyzed project.Returns null in case of Sonarlint context
-
Method Details
-
syntaxNode
Tree syntaxNode() -
addIssue
-
addIssue
-
addIssue
-
addIssue
-
addFileIssue
-
addLineIssue
-
pythonFile
PythonFile pythonFile() -
sourcePythonVersions
List of Python versions this project is compatible with. -
stubFilesSymbols
Returns symbols declared in stub files (e.g. typeshed) used in the analyzed project. -
workingDirectory
Returns null in case of Sonarlint context -
cacheContext
-
typeChecker
TypeChecker typeChecker() -
projectConfiguration
ProjectConfiguration projectConfiguration() -
callGraph
CallGraph callGraph()
-