void (@NotNull final PsiComment element) { final IElementType tokenType = element.getTokenType(); if (!(tokenType.equals(JavaTokenType.END_OF_LINE_COMMENT))) { return; } final Commenter commenter = LanguageCommenters.INSTANCE.forLanguage(element.getLanguage()); String rawCommentText = element.getText(); final String prefix = commenter.getLineCommentPrefix(); if (prefix != null && rawCommentText.startsWith(prefix)) { rawCommentText = rawCommentText.substring(prefix.length()); } final String commentText = StringUtil.toLowerCase(rawCommentText.trim()); if (!commentText.startsWith(END_WORD) || StringUtil.split(commentText, " ").size() > 3) { return; } if (MARKER_PATTERN.accepts(element)) { holder.registerProblem(element, JavaAnalysisBundle.message("redundant.block.marker"), new DeleteBlockMarkerCommentFix()); } }