void (@NotNull PsiComment comment) { if (comment.getText().startsWith("(?#")) { if (!myLanguageHosts.supportsPerl5EmbeddedComments(comment)) { myHolder.newAnnotation(HighlightSeverity.ERROR, RegExpBundle.message("error.embedded.comments.are.not.supported.in.this.regex.dialect")).create(); } } }