Package org.sonarsource.slang.checks.api
Interface CheckContext
public interface CheckContext
-
Method Summary
Modifier and TypeMethodDescriptionfilename()default Treeparent()voidreportFileIssue(String message) voidreportFileIssue(String message, Double gap) voidreportIssue(HasTextRange toHighlight, String message) voidreportIssue(HasTextRange toHighlight, String message, List<SecondaryLocation> secondaryLocations) voidreportIssue(HasTextRange toHighlight, String message, List<SecondaryLocation> secondaryLocations, Double gap) voidreportIssue(HasTextRange toHighlight, String message, SecondaryLocation secondaryLocation) voidreportIssue(TextRange textRange, String message)
-
Method Details
-
ancestors
-
parent
-
filename
String filename() -
fileContent
String fileContent() -
reportIssue
-
reportIssue
-
reportIssue
-
reportIssue
void reportIssue(HasTextRange toHighlight, String message, List<SecondaryLocation> secondaryLocations) -
reportIssue
void reportIssue(HasTextRange toHighlight, String message, List<SecondaryLocation> secondaryLocations, @Nullable Double gap) -
reportFileIssue
-
reportFileIssue
-