void (@NotNull PsiElement element, @NotNull AnnotationHolder holder) { if (element instanceof PsiComment && ((PsiComment)element).getTokenType().equals(JavaTokenType.C_STYLE_COMMENT)) { holder.newAnnotation(HighlightSeverity.INFORMATION, "comment").create(); iDidIt(); } }