From 36d715b1ee3d285646611c4fa114202fa78b45e1 Mon Sep 17 00:00:00 2001 From: Artem Tikhomirov Date: Wed, 27 Dec 2023 18:24:56 +0200 Subject: [PATCH] IWatchable compatibility API default impl to make sure mbeddr compiles with the method removed in 23.3 --- .../jetbrains/mps/debug/api/programState.mps | 23 +++++++++++++++++++ .../mps/debug/api/programState/generated | 2 +- .../api/programState/AbstractWatchable.java | 9 ++++++++ .../mps/debug/api/programState/trace.info | 6 ++++- 4 files changed, 38 insertions(+), 2 deletions(-) diff --git a/plugins/debugger-api/api/jetbrains/mps/debug/api/programState.mps b/plugins/debugger-api/api/jetbrains/mps/debug/api/programState.mps index a53a28ce9a8d..419850d12781 100644 --- a/plugins/debugger-api/api/jetbrains/mps/debug/api/programState.mps +++ b/plugins/debugger-api/api/jetbrains/mps/debug/api/programState.mps @@ -764,6 +764,7 @@ + @@ -786,6 +787,28 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/debugger-api/api/source_gen.caches/jetbrains/mps/debug/api/programState/generated b/plugins/debugger-api/api/source_gen.caches/jetbrains/mps/debug/api/programState/generated index f060704efee1..93a93af5b630 100644 --- a/plugins/debugger-api/api/source_gen.caches/jetbrains/mps/debug/api/programState/generated +++ b/plugins/debugger-api/api/source_gen.caches/jetbrains/mps/debug/api/programState/generated @@ -1,5 +1,5 @@ - + diff --git a/plugins/debugger-api/api/source_gen/jetbrains/mps/debug/api/programState/AbstractWatchable.java b/plugins/debugger-api/api/source_gen/jetbrains/mps/debug/api/programState/AbstractWatchable.java index d1d545768b33..7e3cc6fc7a2c 100644 --- a/plugins/debugger-api/api/source_gen/jetbrains/mps/debug/api/programState/AbstractWatchable.java +++ b/plugins/debugger-api/api/source_gen/jetbrains/mps/debug/api/programState/AbstractWatchable.java @@ -3,10 +3,19 @@ /*Generated by MPS */ import jetbrains.mps.annotations.GeneratedClass; +import org.jetbrains.annotations.Nullable; +import org.jetbrains.mps.openapi.model.SNode; /** * Default implementation for {@link jetbrains.mps.debug.api.programState.IWatchable }, extend this class instead of implementing interface directly to facilitate API change */ @GeneratedClass(node = "r:0a0d7eec-6e5a-412b-8e16-e3ee5ed7fb95(jetbrains.mps.debug.api.programState)/6559558851652261578", model = "r:0a0d7eec-6e5a-412b-8e16-e3ee5ed7fb95(jetbrains.mps.debug.api.programState)") public abstract class AbstractWatchable implements Watchable2 { + + @Nullable + @Deprecated + @Override + public SNode getNode() { + return null; + } } diff --git a/plugins/debugger-api/api/source_gen/jetbrains/mps/debug/api/programState/trace.info b/plugins/debugger-api/api/source_gen/jetbrains/mps/debug/api/programState/trace.info index 4983ab37d3a7..babbb826f115 100644 --- a/plugins/debugger-api/api/source_gen/jetbrains/mps/debug/api/programState/trace.info +++ b/plugins/debugger-api/api/source_gen/jetbrains/mps/debug/api/programState/trace.info @@ -198,7 +198,11 @@ - + + + + +