returns the state object of the given type . note : must only be called when being within a supported event cycle . concode_field_sep ThreadLocal<Map<Class<?>,Object>> stateHolder concode_elem_sep Map<Class<?>,EventStateLifecycle<?>> lifecycles concode_field_sep T getState concode_elem_sep void onEventBegin concode_elem_sep T create concode_elem_sep boolean isEventContextRequired concode_elem_sep void onEventFinished concode_elem_sep void onFinish concode_elem_sep boolean isActive concode_elem_sep Map<Class<?>,Object> getStates concode_elem_sep EventStateLifecycle<T> getLifecycle
T function ( Class < T > arg0 ) { Map < Class < ? > , Object > loc0 = getStates ( ) ; T loc1 = getState ( loc0 , arg0 ) ; if ( loc1 == null ) { loc1 = create ( arg0 , loc0 ) ; loc0 . put ( arg0 , loc1 ) ; } return loc1 ; }