item.setResultType(this.getJavaType());
for(Selection selection : this.getCompoundSelectionItems()){
if (((SelectionImpl)selection).isCompoundSelection()){
item.addItem(((ConstructorSelectionImpl)selection).translate());
}else{
item.addAttribute(((SelectionImpl)selection).getCurrentNode());
}
}
return item;
}