From 0503f0832a86e94312344a8666fb4cd141abeed5 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Thu, 18 Sep 2008 15:20:44 +0000 Subject: [PATCH] [247356] Added some @Deprecated tags and removed a couple of unnecessary @since tags --- .../dd/gdb/internal/ui/launching/CMainTab.java | 2 -- .../mi/service/command/AbstractCLIProcess.java | 3 ++- .../mi/service/command/MIInferiorProcess.java | 17 ++++------------- .../service/command/commands/CLIExecAbort.java | 1 + .../mi/service/command/commands/CLISource.java | 1 + .../commands/MIDataEvaluateExpression.java | 1 + .../command/commands/MIFileExecAndSymbols.java | 2 ++ .../command/commands/MIFileExecFile.java | 2 ++ .../command/commands/MIFileSymbolFile.java | 2 ++ .../command/commands/MIGDBSetAutoSolib.java | 1 + .../commands/MIGDBSetSolibSearchPath.java | 3 ++- .../command/commands/MIGDBShowExitCode.java | 3 ++- .../command/commands/MIInferiorTTYSet.java | 1 + .../service/command/commands/MIVarAssign.java | 3 ++- .../service/command/commands/MIVarDelete.java | 3 ++- .../commands/MIVarEvaluateExpression.java | 3 ++- .../command/commands/MIVarInfoExpression.java | 3 ++- .../commands/MIVarInfoPathExpression.java | 3 ++- .../service/command/commands/MIVarInfoType.java | 3 ++- .../command/commands/MIVarListChildren.java | 3 ++- .../command/commands/MIVarSetFormat.java | 3 ++- .../command/commands/MIVarShowAttributes.java | 3 ++- .../command/commands/MIVarShowFormat.java | 1 + .../service/command/commands/MIVarUpdate.java | 3 ++- .../service/command/events/MIDetachedEvent.java | 3 ++- .../service/command/events/MIGDBExitEvent.java | 1 + .../command/events/MIInferiorExitEvent.java | 6 ++++-- .../events/MIInferiorSignalExitEvent.java | 6 ++++-- 28 files changed, 53 insertions(+), 33 deletions(-) diff --git a/plugins/org.eclipse.dd.gdb.ui/src/org/eclipse/dd/gdb/internal/ui/launching/CMainTab.java b/plugins/org.eclipse.dd.gdb.ui/src/org/eclipse/dd/gdb/internal/ui/launching/CMainTab.java index 1bc8cbf7c8d..49aff8b0b56 100644 --- a/plugins/org.eclipse.dd.gdb.ui/src/org/eclipse/dd/gdb/internal/ui/launching/CMainTab.java +++ b/plugins/org.eclipse.dd.gdb.ui/src/org/eclipse/dd/gdb/internal/ui/launching/CMainTab.java @@ -67,8 +67,6 @@ import org.eclipse.ui.dialogs.TwoPaneElementSelector; *

* This class may be instantiated. This class is not intended to be subclassed. *

- * - * @since 2.0 */ public class CMainTab extends CLaunchConfigurationTab { diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/AbstractCLIProcess.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/AbstractCLIProcess.java index 335bb4c8de0..704a0a955b0 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/AbstractCLIProcess.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/AbstractCLIProcess.java @@ -121,7 +121,8 @@ public abstract class AbstractCLIProcess extends Process fMIOutLogPipe = miOutLogPipe; fMIInLogPipe = miInLogPipe; } - + + @Deprecated public AbstractCLIProcess(AbstractMIControl commandControl) throws IOException { this ( (ICommandControlService)commandControl ); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/MIInferiorProcess.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/MIInferiorProcess.java index 8e1c307ddb1..92e8281d67d 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/MIInferiorProcess.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/MIInferiorProcess.java @@ -146,7 +146,8 @@ public class MIInferiorProcess extends Process public MIInferiorProcess(ICommandControlService commandControl, IExecutionDMContext inferiorExecCtx, OutputStream gdbOutputStream) { this(commandControl, inferiorExecCtx, gdbOutputStream, null); } - + + @Deprecated public MIInferiorProcess(AbstractMIControl commandControl, IExecutionDMContext inferiorExecCtx, OutputStream gdbOutputStream) { this(commandControl, inferiorExecCtx, gdbOutputStream, null); } @@ -154,7 +155,6 @@ public class MIInferiorProcess extends Process /** * @deprecated {@link #MIInferiorProcess(ICommandControlService, IExecutionDMContext, OutputStream)} * should be used instead. - * @since 1.1 */ @ConfinedToDsfExecutor("fSession#getExecutor") @Deprecated @@ -176,7 +176,8 @@ public class MIInferiorProcess extends Process public MIInferiorProcess(ICommandControlService commandControl, IExecutionDMContext inferiorExecCtx, PTY p) { this(commandControl, inferiorExecCtx, null, p); } - + + @Deprecated public MIInferiorProcess(AbstractMIControl commandControl, IExecutionDMContext inferiorExecCtx, PTY p) { this(commandControl, inferiorExecCtx, null, p); } @@ -184,7 +185,6 @@ public class MIInferiorProcess extends Process /** * @deprecated Should use {@link #MIInferiorProcess(ICommandControlService, IExecutionDMContext, PTY)} * instead. - * @since 1.1 */ @ConfinedToDsfExecutor("fSession#getExecutor") @Deprecated @@ -257,9 +257,6 @@ public class MIInferiorProcess extends Process return fSession; } - /** - * @since 1.1 - */ @Deprecated protected AbstractMIControl getCommandControl() { return (AbstractMIControl)fCommandControl; } @@ -437,16 +434,10 @@ public class MIInferiorProcess extends Process return fInputStreamPiped; } - /** - * @since 1.1 - */ public OutputStream getPipedErrorStream() { return fErrorStreamPiped; } - /** - * @since 1.1 - */ public PTY getPTY() { return fPty; } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/CLIExecAbort.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/CLIExecAbort.java index e580f4f9d5f..54e6ded7b8c 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/CLIExecAbort.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/CLIExecAbort.java @@ -32,6 +32,7 @@ public class CLIExecAbort extends CLICommand super(ctx, "kill"); //$NON-NLS-1$ } + @Deprecated public CLIExecAbort(MIControlDMContext ctx) { this ((ICommandControlDMContext)ctx); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/CLISource.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/CLISource.java index 45ebb8a40a5..62cdb02c72d 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/CLISource.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/CLISource.java @@ -29,6 +29,7 @@ public class CLISource extends CLICommand { super(ctx, "source " + file); //$NON-NLS-1$ } + @Deprecated public CLISource(MIControlDMContext ctx, String file) { this ((ICommandControlDMContext)ctx, file); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIDataEvaluateExpression.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIDataEvaluateExpression.java index e57e9e34bd8..29f977710d9 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIDataEvaluateExpression.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIDataEvaluateExpression.java @@ -38,6 +38,7 @@ public class MIDataEvaluateExpression ex super(ctx, "-data-evaluate-expression", new String[]{expr}); //$NON-NLS-1$ } + @Deprecated public MIDataEvaluateExpression(MIControlDMContext ctx, String expr) { this ((ICommandControlDMContext)ctx, expr); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIFileExecAndSymbols.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIFileExecAndSymbols.java index 0f911a3bfd0..9d5bad257a6 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIFileExecAndSymbols.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIFileExecAndSymbols.java @@ -33,6 +33,7 @@ public class MIFileExecAndSymbols extends MICommand super(dmc, "-file-exec-and-symbols", null, new String[] {file}); //$NON-NLS-1$ } + @Deprecated public MIFileExecAndSymbols(MIControlDMContext dmc, String file) { this ((ICommandControlDMContext)dmc, file); } @@ -44,6 +45,7 @@ public class MIFileExecAndSymbols extends MICommand super(dmc, "-file-exec-and-symbols"); //$NON-NLS-1$ } + @Deprecated public MIFileExecAndSymbols(MIControlDMContext dmc) { this ((ICommandControlDMContext)dmc); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIFileExecFile.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIFileExecFile.java index 27ca9758da2..713c486b5b3 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIFileExecFile.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIFileExecFile.java @@ -34,6 +34,7 @@ public class MIFileExecFile extends MICommand super(dmc, "-file-exec-file", null, new String[] {file}); //$NON-NLS-1$ } + @Deprecated public MIFileExecFile(MIControlDMContext dmc, String file) { this ((ICommandControlDMContext)dmc, file); } @@ -45,6 +46,7 @@ public class MIFileExecFile extends MICommand super(dmc, "-file-exec-file"); //$NON-NLS-1$ } + @Deprecated public MIFileExecFile(MIControlDMContext dmc) { this ((ICommandControlDMContext)dmc); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIFileSymbolFile.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIFileSymbolFile.java index 96ae62c66ea..f26554be4c7 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIFileSymbolFile.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIFileSymbolFile.java @@ -33,6 +33,7 @@ public class MIFileSymbolFile extends MICommand super(dmc, "-file-symbol-file", null, new String[] {file}); //$NON-NLS-1$ } + @Deprecated public MIFileSymbolFile(MIControlDMContext dmc, String file) { this ((ICommandControlDMContext)dmc, file); } @@ -44,6 +45,7 @@ public class MIFileSymbolFile extends MICommand super(dmc, "-file-symbol-file"); //$NON-NLS-1$ } + @Deprecated public MIFileSymbolFile(MIControlDMContext dmc) { this ((ICommandControlDMContext)dmc); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIGDBSetAutoSolib.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIGDBSetAutoSolib.java index fb2b9d8fd63..caa42731a13 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIGDBSetAutoSolib.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIGDBSetAutoSolib.java @@ -27,6 +27,7 @@ public class MIGDBSetAutoSolib extends MIGDBSet super(ctx, new String[] {"auto-solib-add", isSet ? "on" : "off"});//$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$ } + @Deprecated public MIGDBSetAutoSolib(MIControlDMContext ctx, boolean isSet) { this ((ICommandControlDMContext)ctx, isSet); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIGDBSetSolibSearchPath.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIGDBSetSolibSearchPath.java index 89c906c17d5..d49e985f836 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIGDBSetSolibSearchPath.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIGDBSetSolibSearchPath.java @@ -38,7 +38,8 @@ public class MIGDBSetSolibSearchPath extends MIGDBSet String[] p = new String [] {"solib-search-path", buffer.toString()}; //$NON-NLS-1$ setParameters(p); } - + + @Deprecated public MIGDBSetSolibSearchPath(MIControlDMContext ctx, String[] paths) { this ((ICommandControlDMContext)ctx, paths); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIGDBShowExitCode.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIGDBShowExitCode.java index 68045c12ab8..fc10d2729ee 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIGDBShowExitCode.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIGDBShowExitCode.java @@ -33,7 +33,8 @@ public class MIGDBShowExitCode extends MIDataEvaluateExpression super(dmc, "-inferior-tty-set", null, new String[] {tty}); //$NON-NLS-1$ } + @Deprecated public MIInferiorTTYSet(MIControlDMContext dmc, String tty) { this ((ICommandControlDMContext)dmc, tty); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarAssign.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarAssign.java index 3db893f8cde..a7c8e447349 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarAssign.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarAssign.java @@ -32,7 +32,8 @@ public class MIVarAssign extends MICommand public MIVarAssign(ICommandControlDMContext ctx, String name, String expression) { super(ctx, "-var-assign", new String[]{name, expression}); //$NON-NLS-1$ } - + + @Deprecated public MIVarAssign(MIControlDMContext ctx, String name, String expression) { this ((ICommandControlDMContext)ctx, name, expression); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarDelete.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarDelete.java index 6a652a6898d..32bba52159e 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarDelete.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarDelete.java @@ -34,7 +34,8 @@ public class MIVarDelete extends MICommand public MIVarDelete(ICommandControlDMContext dmc, String name) { super(dmc, "-var-delete", new String[]{name}); //$NON-NLS-1$ } - + + @Deprecated public MIVarDelete(MIControlDMContext dmc, String name) { this ((ICommandControlDMContext)dmc, name); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarEvaluateExpression.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarEvaluateExpression.java index 1beff4eaa89..41ccbf791e1 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarEvaluateExpression.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarEvaluateExpression.java @@ -37,7 +37,8 @@ public class MIVarEvaluateExpression extends MICommand public MIVarInfoExpression(ICommandControlDMContext ctx, String name) { super(ctx, "-var-info-expression", new String[]{name}); //$NON-NLS-1$ } - + + @Deprecated public MIVarInfoExpression(MIControlDMContext ctx, String name) { this ((ICommandControlDMContext)ctx, name); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarInfoPathExpression.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarInfoPathExpression.java index 95da33bd634..5576248374e 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarInfoPathExpression.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarInfoPathExpression.java @@ -37,7 +37,8 @@ public class MIVarInfoPathExpression extends MICommand public MIVarInfoType(ICommandControlDMContext ctx, String name) { super(ctx, "-var-info-type", new String[]{name}); //$NON-NLS-1$ } - + + @Deprecated public MIVarInfoType(MIControlDMContext ctx, String name) { this ((ICommandControlDMContext)ctx, name); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarListChildren.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarListChildren.java index 4449553d1d1..1c3b9f1fa53 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarListChildren.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarListChildren.java @@ -36,7 +36,8 @@ public class MIVarListChildren extends MICommand public MIVarListChildren(ICommandControlDMContext ctx, String name) { super(ctx, "-var-list-children", new String[]{name}); //$NON-NLS-1$ } - + + @Deprecated public MIVarListChildren(MIControlDMContext ctx, String name) { this ((ICommandControlDMContext)ctx, name); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarSetFormat.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarSetFormat.java index 65133a8b663..e7b42d3c5ff 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarSetFormat.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarSetFormat.java @@ -41,7 +41,8 @@ public class MIVarSetFormat extends MICommand super(ctx, "-var-set-format"); //$NON-NLS-1$ setParameters(new String[]{name, getFormat(fmt)}); } - + + @Deprecated public MIVarSetFormat(MIControlDMContext ctx, String name, String fmt) { this ((ICommandControlDMContext)ctx, name, fmt); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarShowAttributes.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarShowAttributes.java index a3772e08a17..980324cfdd1 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarShowAttributes.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarShowAttributes.java @@ -37,7 +37,8 @@ public class MIVarShowAttributes extends MICommand public MIVarShowAttributes(ICommandControlDMContext ctx, String name) { super(ctx, "-var-show-attributes", new String[]{name}); //$NON-NLS-1$ } - + + @Deprecated public MIVarShowAttributes(MIControlDMContext ctx, String name) { this ((ICommandControlDMContext)ctx, name); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarShowFormat.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarShowFormat.java index 066036d444f..96c356f2dc8 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarShowFormat.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarShowFormat.java @@ -35,6 +35,7 @@ public class MIVarShowFormat extends MICommand super(ctx, "-var-show-format", new String[]{name}); //$NON-NLS-1$ } + @Deprecated public MIVarShowFormat(MIControlDMContext ctx, String name) { this ((ICommandControlDMContext)ctx, name); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarUpdate.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarUpdate.java index 3d1f3cf78a5..3fc9fd91f7e 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarUpdate.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/commands/MIVarUpdate.java @@ -38,7 +38,8 @@ public class MIVarUpdate extends MICommand { public MIVarUpdate(ICommandControlDMContext dmc, String name) { super(dmc, "-var-update", new String[] { "1", name }); //$NON-NLS-1$//$NON-NLS-2$ } - + + @Deprecated public MIVarUpdate(MIControlDMContext ctx, String name) { this ((ICommandControlDMContext)ctx, name); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIDetachedEvent.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIDetachedEvent.java index 14cae398ac3..bae7d5d792d 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIDetachedEvent.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIDetachedEvent.java @@ -30,7 +30,8 @@ public class MIDetachedEvent extends MIEvent { public MIDetachedEvent(ICommandControlDMContext ctx, int token) { super(ctx, token, null); } - + + @Deprecated public MIDetachedEvent(MIControlDMContext ctx, int token) { this ((ICommandControlDMContext)ctx, token); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIGDBExitEvent.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIGDBExitEvent.java index 8f782bcc356..fa56e30ffd1 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIGDBExitEvent.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIGDBExitEvent.java @@ -35,6 +35,7 @@ public class MIGDBExitEvent extends MIEvent { super(ctx, token, null); } + @Deprecated public MIGDBExitEvent(MIControlDMContext ctx, int token) { this ((ICommandControlDMContext)ctx, token); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIInferiorExitEvent.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIInferiorExitEvent.java index 71f98853c6e..0eb9e51d906 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIInferiorExitEvent.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIInferiorExitEvent.java @@ -37,7 +37,8 @@ public class MIInferiorExitEvent extends MIEvent { super(ctx, token, results); this.code = code; } - + + @Deprecated public MIInferiorExitEvent(MIControlDMContext ctx, int token, MIResult[] results, int code) { this ((ICommandControlDMContext)ctx, token, results, code); } @@ -45,7 +46,8 @@ public class MIInferiorExitEvent extends MIEvent { public int getExitCode() { return code; } - + + @Deprecated public static MIInferiorExitEvent parse(MIControlDMContext ctx, int token, MIResult[] results) { return parse((ICommandControlDMContext)ctx, token, results); } diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIInferiorSignalExitEvent.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIInferiorSignalExitEvent.java index 9e4fce2f184..d7f0150487c 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIInferiorSignalExitEvent.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/events/MIInferiorSignalExitEvent.java @@ -39,7 +39,8 @@ public class MIInferiorSignalExitEvent extends MIEvent this.sigName = sigName; this.sigMeaning = sigMeaning; } - + + @Deprecated public MIInferiorSignalExitEvent(MIControlDMContext ctx, int token, MIResult[] results, String sigName, String sigMeaning) { this((ICommandControlDMContext)ctx, token, results, sigName, sigMeaning); } @@ -51,7 +52,8 @@ public class MIInferiorSignalExitEvent extends MIEvent public String getMeaning() { return sigMeaning; } - + + @Deprecated public static MIInferiorSignalExitEvent parse(MIControlDMContext ctx, int token, MIResult[] results) { return parse((ICommandControlDMContext)ctx, token, results); }