Object rlcStates = !context.getResourceLibraryContracts().isEmpty() ?
UIComponentBase.saveAttachedState(context,
new ArrayList<String>(context.getResourceLibraryContracts())) : null;
states = new Object[]{
internalBuildTreeStructureToSave(view),
view.processSaveState(context), rlcStates};
}
else
{
states = new HashMap<String, Object>();