@NotNull
 private static FileStorage getMainStorage(@NotNull Module module) {
   return (FileStorage)
       ComponentsPackage.getStateStore(module)
           .getStateStorageManager()
           .getStateStorage(StoragePathMacros.MODULE_FILE, RoamingType.DEFAULT);
 }
 @Override
 @NotNull
 public String getModuleFilePath() {
   return ComponentsPackage.getStateStore(this)
       .getStateStorageManager()
       .expandMacros(StoragePathMacros.MODULE_FILE);
 }
 @Override
 public void rename(String newName) {
   myName = newName;
   ComponentsPackage.getStateStore(this)
       .getStateStorageManager()
       .rename(StoragePathMacros.MODULE_FILE, newName + ModuleFileType.DOT_DEFAULT_EXTENSION);
 }
 private void setModuleFilePath(String newFilePath) {
   ClasspathStorage.modulePathChanged(ModuleImpl.this, newFilePath);
   getMainStorage(ModuleImpl.this).setFile(null, new File(newFilePath));
   ComponentsPackage.getStateStore(ModuleImpl.this)
       .setPath(FileUtilRt.toSystemIndependentName(newFilePath));
 }