int (@NotNull ASTNode child) { assert child.getTreeParent() == this: "child:"+child+"; child.getTreeParent():"+child.getTreeParent(); IElementType i = child.getElementType(); if (i == LPARENTH) { return ChildRole.LPARENTH; } else if (i == RPARENTH) { return ChildRole.RPARENTH; } else if (i == TYPE) { return ChildRole.TYPE; } else { if (EXPRESSION_BIT_SET.contains(child.getElementType())) { return ChildRole.OPERAND; } return ChildRoleBase.NONE; } }