make tree into an array concode_field_sep MenuEntry node concode_elem_sep ArrayList<TreeNode> children concode_elem_sep boolean hasChildren concode_elem_sep boolean root concode_elem_sep boolean selected concode_field_sep boolean getSelected concode_elem_sep boolean getHasChilds concode_elem_sep void setHasChilds concode_elem_sep boolean isRoot concode_elem_sep void setSelected concode_elem_sep boolean isSelected concode_elem_sep void setNode concode_elem_sep MenuEntry getNode concode_elem_sep void setRoot concode_elem_sep ArrayList<TreeNode> getChilds concode_elem_sep void setChilds
void function ( TreeNode arg0 ) { if ( this . children == null ) { this . children = new ArrayList < TreeNode > ( ) ; } this . children . add ( arg0 ) ; hasChildren = true ; }