private void reloadLiveTemplateContexts() {
    ApplicationManager.getApplication().assertWriteAccessAllowed();

    // reset previously calculated base contexts
    for (LiveTemplateContext liveTemplateContext : myState.myLiveTemplateIds.values()) {
      liveTemplateContext.getTemplateContextType().clearCachedBaseContextType();
    }

    myState = loadLiveTemplateContextsNoLock();
  }
private void reloadLiveTemplateContexts()