Class InputFileContext
- java.lang.Object
-
- org.sonar.iac.common.extension.visitors.TreeContext
-
- org.sonar.iac.common.extension.visitors.InputFileContext
-
public class InputFileContext extends TreeContext
-
-
Field Summary
Fields Modifier and Type Field Description org.sonar.api.batch.fs.InputFileinputFileorg.sonar.api.batch.sensor.SensorContextsensorContext
-
Constructor Summary
Constructors Constructor Description InputFileContext(org.sonar.api.batch.sensor.SensorContext sensorContext, org.sonar.api.batch.fs.InputFile inputFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreportAnalysisError(String message, org.sonar.api.batch.fs.TextPointer location)voidreportIssue(org.sonar.api.rule.RuleKey ruleKey, TextRange textRange, String message, List<SecondaryLocation> secondaryLocations)voidreportParseError(String repositoryKey, org.sonar.api.batch.fs.TextPointer location)-
Methods inherited from class org.sonar.iac.common.extension.visitors.TreeContext
ancestors, before, enter, leave
-
-
-
-
Method Detail
-
reportIssue
public void reportIssue(org.sonar.api.rule.RuleKey ruleKey, @Nullable TextRange textRange, String message, List<SecondaryLocation> secondaryLocations)
-
reportParseError
public void reportParseError(String repositoryKey, @Nullable org.sonar.api.batch.fs.TextPointer location)
-
reportAnalysisError
public void reportAnalysisError(String message, @Nullable org.sonar.api.batch.fs.TextPointer location)
-
-