boolean (@Nullable PsiElement psiElement) { if (psiElement == null || !BasicJavaAstTreeUtil.is(BasicJavaAstTreeUtil.toNode(psiElement), BASIC_FIELD)) return false; PsiElement node = PsiTreeUtil.nextLeaf(psiElement, true); if (node == null) { return false; } return !",".equals(node.getText()); }