public static void copyEntityCaches(final PsiFile file, final PsiFile context) {
    synchronized (LOCK) {
      final Map<String, CachedValue<XmlEntityDecl>> cachingMap = getCachingMap(file);
      cachingMap.putAll(getCachingMap(context));
    }

  }
public static void copyEntityCaches(final PsiFile file, final PsiFile context)