boolean (PsiElement element) { if (!(element instanceof PsiComment comment)) { return false; } final IElementType tokenType = comment.getTokenType(); return GroovyTokenTypes.mSL_COMMENT.equals(tokenType); }