-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: binary incompatibility in ModelServerConnection
- Loading branch information
Showing
3 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...acy-sync-plugin/src/main/java/org/modelix/model/mpsplugin/AllowedBinaryIncompatibility.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.modelix.model.mpsplugin | ||
|
||
import com.intellij.openapi.project.ProjectManager | ||
import com.intellij.openapi.project.ProjectManagerListener | ||
import com.intellij.util.messages.MessageBus | ||
import com.intellij.util.messages.MessageBusConnection | ||
import com.intellij.util.messages.Topic | ||
|
||
/** | ||
* This file contains all API calls that lead to a difference in the compiled bytecode. | ||
* This class file is ignored during the binary compatibility check. | ||
* This file should contain as little code as possible. | ||
*/ | ||
|
||
internal fun MessageBus.connectToMessageBus(): MessageBusConnection = connect() | ||
internal fun getProjectManagerTopic(): Topic<ProjectManagerListener> = ProjectManager.TOPIC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters