src/main/java/ognl/SimpleNode.java
public void dump(PrintWriter writer, String prefix)
    {
        writer.println(toString(prefix));

        if (_children != null)
        {
            for (int i = 0; i < _children.length; ++i)
            {
                SimpleNode n = (SimpleNode) _children[i];
                if (n != null)
                {
                    n.dump(writer, prefix + "  ");
                }
            }
        }
    }
public void dump(PrintWriter writer, String prefix)
    {
        writer.println(toString(prefix));

        if (_children != null)
        {
            for (int i = 0; i < _children.length; ++i)
            {
                SimpleNode n = (SimpleNode) _children[i];
                if (n != null)
                {
                    n.dump(writer, prefix + "  ");
                }
            }
        }
    }
/*
Override this method if you want to customize how the node dumps out its children.