});
}
}
public static Optional<Annotation> createAnnotation(AnnotationHolder holder, PsiFile psiFile, SonarIssue issue) {
HighlightSeverity severity = SonarToIjSeverityMapping.toHighlightSeverity(issue.getSeverity());
Annotation annotation;
if (issue.getLine() == null) {
annotation = createAnnotation(holder, issue.formattedMessage(), psiFile, severity);
annotation.setFileLevelAnnotation(true);
} else {