void (PsiElement prevStartCommand, PsiElement curStartCommand, AnnotationHolder holder) { if (prevStartCommand != null && curStartCommand != null) { holder .newAnnotation(HighlightSeverity.ERROR, PerformanceTestingBundle.message("inspection.message.two.startprofile.commands.cant.follow.each.other", curStartCommand.getText())) .range(curStartCommand) .withFix(new AddStopCommandFix()) .create(); } }