private @Nullable String getMyModuleName(LibraryFilesPackagingElementEntity entity) {
    LibraryId library = entity.getLibrary();
    String moduleName = null;
    if (library != null) {
      LibraryTableId tableId = library.getTableId();
      if (tableId instanceof LibraryTableId.ModuleLibraryTableId) {
        moduleName = ((LibraryTableId.ModuleLibraryTableId)tableId).getModuleId().getName();
        if (!Objects.equals(moduleName, myModuleName)) {
          myModuleName = moduleName;
        }
      }
      else {
        if (myModuleName != null) {
          myModuleName = null;
        }
      }
    }
    else {
      if (myModuleName != null) {
        myModuleName = null;
      }
    }
    return moduleName;
  }
private @Nullable String getMyModuleName(LibraryFilesPackagingElementEntity entity)