void () { final String key = getComponentStateKey(); final MasterDetailsStateService stateService = getStateService(); if (key != null && stateService != null) { final MasterDetailsState state = stateService.getComponentState(key, myState.getClass()); if (state != null) { loadState(state); } } }