newnode.endcc = ecc; newnode.menu_lower = ml; newnode.menu_raise = mr;
    public CCNode addNode(CCNode node, int level, int value, int type,        int num_arg, boolean multi, boolean terminate, String cc, String desc)    {        // Adds a subnode with specified properties to the provided node        // if a node of the specified value already exists, return a pointer to        // it        for (int i = 0; i < node.nodes.size(); i++)        {            if (((CCNode) node.nodes.get(i)).value == value)                return ((CCNode) node.nodes.get(i));        }        CCNode newnode = new CCNode();        newnode.cc = cc;        newnode.desc = desc;        newnode.level = level;        newnode.value = value;        newnode.type = type;        newnode.num_arg = num_arg;        newnode.arg_multiplier = multi;        newnode.isTerminator = terminate;        newnode.parent = node;        node.nodes.add(newnode);        // return a pointer to the node we just created        return newnode;    }