public void clearClassLoaderCache() {
    // clear classes with invalid classloader from UIManager cache
    var uiDefaults = UIManager.getDefaults();
    for (var it = uiDefaults.keySet().iterator(); it.hasNext(); ) {
      var key = it.next();
      var value = uiDefaults.get(key);
      if (value instanceof Class) {
        var loader = ((Class<?>)value).getClassLoader();
        if (loader instanceof DesignTimeClassLoader) {
          it.remove();
        }
      }
    }
    myModule2ClassLoader.clear();
    myProjectClassLoader = null;
  }
public void clearClassLoaderCache()