docs: public VariableMap getAndClearCachedVariableMap() {
      VariableMap cachedVariables = associationManager.getCachedVariables();
      VariableMap copy = new VariableMapImpl(cachedVariables);
      cachedVariables.clear();
      return copy;
    }