@Override
    public RegExpBranch @NotNull [] getBranches() {
        final ASTNode[] nodes = getNode().getChildren(BRANCH);
        final RegExpBranch[] branches = new RegExpBranch[nodes.length];
        for (int i = 0; i < branches.length; i++) {
            branches[i] = (RegExpBranch)nodes[i].getPsi();
        }
        return branches;
    }
@Override
    public RegExpBranch @NotNull [] getBranches()