void (PsiElement startCommand, AnnotationHolder holder) { if (startCommand != null) { holder .newAnnotation(HighlightSeverity.WARNING, PerformanceTestingBundle.message("inspection.message.activity.started.but.never.closed.with.stopprofile", startCommand.getText())) .range(startCommand) .withFix(new AddStopCommandFix()) .create(); } }