Package org.sonar.plugins.python.indexer
Class SonarLintPythonIndexer
java.lang.Object
org.sonar.plugins.python.indexer.PythonIndexer
org.sonar.plugins.python.indexer.SonarLintPythonIndexer
- All Implemented Interfaces:
org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileListener
@SonarLintSide(lifespan="MODULE")
public class SonarLintPythonIndexer
extends PythonIndexer
implements org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileListener
-
Field Summary
Fields inherited from class org.sonar.plugins.python.indexer.PythonIndexer
projectBaseDirAbsolutePath -
Constructor Summary
ConstructorsConstructorDescriptionSonarLintPythonIndexer(org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileSystem moduleFileSystem) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildOnce(org.sonar.api.batch.sensor.SensorContext context) org.sonar.api.batch.fs.InputFilegetFileWithId(String fileId) voidprocess(org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileEvent moduleFileEvent) voidsetSonarLintCache(SonarLintCache sonarLintCache) Methods inherited from class org.sonar.plugins.python.indexer.PythonIndexer
canBeFullyScannedWithoutParsing, canBePartiallyScannedWithoutParsing, packageName, projectLevelSymbolTable
-
Constructor Details
-
SonarLintPythonIndexer
public SonarLintPythonIndexer(org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileSystem moduleFileSystem)
-
-
Method Details
-
buildOnce
public void buildOnce(org.sonar.api.batch.sensor.SensorContext context) - Specified by:
buildOncein classPythonIndexer
-
setSonarLintCache
- Overrides:
setSonarLintCachein classPythonIndexer
-
getFileWithId
- Overrides:
getFileWithIdin classPythonIndexer
-
cacheContext
- Specified by:
cacheContextin classPythonIndexer
-
process
public void process(org.sonarsource.sonarlint.plugin.api.module.file.ModuleFileEvent moduleFileEvent) - Specified by:
processin interfaceorg.sonarsource.sonarlint.plugin.api.module.file.ModuleFileListener
-