boolean (@NotNull PsiField psiField) { FieldElement fieldElement = ObjectUtils.tryCast(psiField.getNode(), FieldElement.class); if (fieldElement == null) return false; return fieldElement.findChildByRole(ChildRole.TYPE) == null || fieldElement.findChildByRole(ChildRole.CLOSING_SEMICOLON) == null; }