question: sets current instances for the ui and all related classes . the previously defined values can be restored by passing the returned map to #restoreinstances map . concode_field_sep WeakReference<Object> instance concode_elem_sep Object NULL_OBJECT concode_elem_sep ThreadLocal<Map<Class<?>,CurrentInstance>> instances concode_elem_sep CurrentInstance CURRENT_INSTANCE_NULL concode_field_sep Map<Class<?>,CurrentInstance> getInstances concode_elem_sep CurrentInstance set concode_elem_sep T get concode_elem_sep Logger getLogger concode_elem_sep void removeStaleInstances concode_elem_sep void restoreInstances concode_elem_sep void clearAll
target: Map < Class < ? > , CurrentInstance > function ( UI arg0 ) { Map < Class < ? > , CurrentInstance > loc0 = setCurrent ( arg0 . getSession ( ) ) ; loc0 . put ( UI . class , set ( UI . class , arg0 ) ) ; return loc0 ; }