1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

[247356] Added some @Deprecated tags and removed a couple of unnecessary @since tags

This commit is contained in:
Marc Khouzam 2008-09-18 15:20:44 +00:00
parent 058474d035
commit 0503f0832a
28 changed files with 53 additions and 33 deletions

View file

@ -67,8 +67,6 @@ import org.eclipse.ui.dialogs.TwoPaneElementSelector;
* <p> * <p>
* This class may be instantiated. This class is not intended to be subclassed. * This class may be instantiated. This class is not intended to be subclassed.
* </p> * </p>
*
* @since 2.0
*/ */
public class CMainTab extends CLaunchConfigurationTab { public class CMainTab extends CLaunchConfigurationTab {

View file

@ -122,6 +122,7 @@ public abstract class AbstractCLIProcess extends Process
fMIInLogPipe = miInLogPipe; fMIInLogPipe = miInLogPipe;
} }
@Deprecated
public AbstractCLIProcess(AbstractMIControl commandControl) throws IOException { public AbstractCLIProcess(AbstractMIControl commandControl) throws IOException {
this ( (ICommandControlService)commandControl ); this ( (ICommandControlService)commandControl );
} }

View file

@ -147,6 +147,7 @@ public class MIInferiorProcess extends Process
this(commandControl, inferiorExecCtx, gdbOutputStream, null); this(commandControl, inferiorExecCtx, gdbOutputStream, null);
} }
@Deprecated
public MIInferiorProcess(AbstractMIControl commandControl, IExecutionDMContext inferiorExecCtx, OutputStream gdbOutputStream) { public MIInferiorProcess(AbstractMIControl commandControl, IExecutionDMContext inferiorExecCtx, OutputStream gdbOutputStream) {
this(commandControl, inferiorExecCtx, gdbOutputStream, null); this(commandControl, inferiorExecCtx, gdbOutputStream, null);
} }
@ -154,7 +155,6 @@ public class MIInferiorProcess extends Process
/** /**
* @deprecated {@link #MIInferiorProcess(ICommandControlService, IExecutionDMContext, OutputStream)} * @deprecated {@link #MIInferiorProcess(ICommandControlService, IExecutionDMContext, OutputStream)}
* should be used instead. * should be used instead.
* @since 1.1
*/ */
@ConfinedToDsfExecutor("fSession#getExecutor") @ConfinedToDsfExecutor("fSession#getExecutor")
@Deprecated @Deprecated
@ -177,6 +177,7 @@ public class MIInferiorProcess extends Process
this(commandControl, inferiorExecCtx, null, p); this(commandControl, inferiorExecCtx, null, p);
} }
@Deprecated
public MIInferiorProcess(AbstractMIControl commandControl, IExecutionDMContext inferiorExecCtx, PTY p) { public MIInferiorProcess(AbstractMIControl commandControl, IExecutionDMContext inferiorExecCtx, PTY p) {
this(commandControl, inferiorExecCtx, null, p); this(commandControl, inferiorExecCtx, null, p);
} }
@ -184,7 +185,6 @@ public class MIInferiorProcess extends Process
/** /**
* @deprecated Should use {@link #MIInferiorProcess(ICommandControlService, IExecutionDMContext, PTY)} * @deprecated Should use {@link #MIInferiorProcess(ICommandControlService, IExecutionDMContext, PTY)}
* instead. * instead.
* @since 1.1
*/ */
@ConfinedToDsfExecutor("fSession#getExecutor") @ConfinedToDsfExecutor("fSession#getExecutor")
@Deprecated @Deprecated
@ -257,9 +257,6 @@ public class MIInferiorProcess extends Process
return fSession; return fSession;
} }
/**
* @since 1.1
*/
@Deprecated @Deprecated
protected AbstractMIControl getCommandControl() { return (AbstractMIControl)fCommandControl; } protected AbstractMIControl getCommandControl() { return (AbstractMIControl)fCommandControl; }
@ -437,16 +434,10 @@ public class MIInferiorProcess extends Process
return fInputStreamPiped; return fInputStreamPiped;
} }
/**
* @since 1.1
*/
public OutputStream getPipedErrorStream() { public OutputStream getPipedErrorStream() {
return fErrorStreamPiped; return fErrorStreamPiped;
} }
/**
* @since 1.1
*/
public PTY getPTY() { public PTY getPTY() {
return fPty; return fPty;
} }

View file

@ -32,6 +32,7 @@ public class CLIExecAbort extends CLICommand<MIInfo>
super(ctx, "kill"); //$NON-NLS-1$ super(ctx, "kill"); //$NON-NLS-1$
} }
@Deprecated
public CLIExecAbort(MIControlDMContext ctx) { public CLIExecAbort(MIControlDMContext ctx) {
this ((ICommandControlDMContext)ctx); this ((ICommandControlDMContext)ctx);
} }

View file

@ -29,6 +29,7 @@ public class CLISource extends CLICommand<MIInfo> {
super(ctx, "source " + file); //$NON-NLS-1$ super(ctx, "source " + file); //$NON-NLS-1$
} }
@Deprecated
public CLISource(MIControlDMContext ctx, String file) { public CLISource(MIControlDMContext ctx, String file) {
this ((ICommandControlDMContext)ctx, file); this ((ICommandControlDMContext)ctx, file);
} }

View file

@ -38,6 +38,7 @@ public class MIDataEvaluateExpression<V extends MIDataEvaluateExpressionInfo> ex
super(ctx, "-data-evaluate-expression", new String[]{expr}); //$NON-NLS-1$ super(ctx, "-data-evaluate-expression", new String[]{expr}); //$NON-NLS-1$
} }
@Deprecated
public MIDataEvaluateExpression(MIControlDMContext ctx, String expr) { public MIDataEvaluateExpression(MIControlDMContext ctx, String expr) {
this ((ICommandControlDMContext)ctx, expr); this ((ICommandControlDMContext)ctx, expr);
} }

View file

@ -33,6 +33,7 @@ public class MIFileExecAndSymbols extends MICommand<MIInfo>
super(dmc, "-file-exec-and-symbols", null, new String[] {file}); //$NON-NLS-1$ super(dmc, "-file-exec-and-symbols", null, new String[] {file}); //$NON-NLS-1$
} }
@Deprecated
public MIFileExecAndSymbols(MIControlDMContext dmc, String file) { public MIFileExecAndSymbols(MIControlDMContext dmc, String file) {
this ((ICommandControlDMContext)dmc, file); this ((ICommandControlDMContext)dmc, file);
} }
@ -44,6 +45,7 @@ public class MIFileExecAndSymbols extends MICommand<MIInfo>
super(dmc, "-file-exec-and-symbols"); //$NON-NLS-1$ super(dmc, "-file-exec-and-symbols"); //$NON-NLS-1$
} }
@Deprecated
public MIFileExecAndSymbols(MIControlDMContext dmc) { public MIFileExecAndSymbols(MIControlDMContext dmc) {
this ((ICommandControlDMContext)dmc); this ((ICommandControlDMContext)dmc);
} }

View file

@ -34,6 +34,7 @@ public class MIFileExecFile extends MICommand<MIInfo>
super(dmc, "-file-exec-file", null, new String[] {file}); //$NON-NLS-1$ super(dmc, "-file-exec-file", null, new String[] {file}); //$NON-NLS-1$
} }
@Deprecated
public MIFileExecFile(MIControlDMContext dmc, String file) { public MIFileExecFile(MIControlDMContext dmc, String file) {
this ((ICommandControlDMContext)dmc, file); this ((ICommandControlDMContext)dmc, file);
} }
@ -45,6 +46,7 @@ public class MIFileExecFile extends MICommand<MIInfo>
super(dmc, "-file-exec-file"); //$NON-NLS-1$ super(dmc, "-file-exec-file"); //$NON-NLS-1$
} }
@Deprecated
public MIFileExecFile(MIControlDMContext dmc) { public MIFileExecFile(MIControlDMContext dmc) {
this ((ICommandControlDMContext)dmc); this ((ICommandControlDMContext)dmc);
} }

View file

@ -33,6 +33,7 @@ public class MIFileSymbolFile extends MICommand<MIInfo>
super(dmc, "-file-symbol-file", null, new String[] {file}); //$NON-NLS-1$ super(dmc, "-file-symbol-file", null, new String[] {file}); //$NON-NLS-1$
} }
@Deprecated
public MIFileSymbolFile(MIControlDMContext dmc, String file) { public MIFileSymbolFile(MIControlDMContext dmc, String file) {
this ((ICommandControlDMContext)dmc, file); this ((ICommandControlDMContext)dmc, file);
} }
@ -44,6 +45,7 @@ public class MIFileSymbolFile extends MICommand<MIInfo>
super(dmc, "-file-symbol-file"); //$NON-NLS-1$ super(dmc, "-file-symbol-file"); //$NON-NLS-1$
} }
@Deprecated
public MIFileSymbolFile(MIControlDMContext dmc) { public MIFileSymbolFile(MIControlDMContext dmc) {
this ((ICommandControlDMContext)dmc); this ((ICommandControlDMContext)dmc);
} }

View file

@ -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$ 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) { public MIGDBSetAutoSolib(MIControlDMContext ctx, boolean isSet) {
this ((ICommandControlDMContext)ctx, isSet); this ((ICommandControlDMContext)ctx, isSet);
} }

View file

@ -39,6 +39,7 @@ public class MIGDBSetSolibSearchPath extends MIGDBSet
setParameters(p); setParameters(p);
} }
@Deprecated
public MIGDBSetSolibSearchPath(MIControlDMContext ctx, String[] paths) { public MIGDBSetSolibSearchPath(MIControlDMContext ctx, String[] paths) {
this ((ICommandControlDMContext)ctx, paths); this ((ICommandControlDMContext)ctx, paths);
} }

View file

@ -34,6 +34,7 @@ public class MIGDBShowExitCode extends MIDataEvaluateExpression<MIGDBShowExitCod
super(ctx, "$_exitcode"); //$NON-NLS-1$ super(ctx, "$_exitcode"); //$NON-NLS-1$
} }
@Deprecated
public MIGDBShowExitCode(MIControlDMContext ctx) { public MIGDBShowExitCode(MIControlDMContext ctx) {
this ((ICommandControlDMContext)ctx); this ((ICommandControlDMContext)ctx);
} }

View file

@ -30,6 +30,7 @@ public class MIInferiorTTYSet extends MICommand<MIInfo>
super(dmc, "-inferior-tty-set", null, new String[] {tty}); //$NON-NLS-1$ super(dmc, "-inferior-tty-set", null, new String[] {tty}); //$NON-NLS-1$
} }
@Deprecated
public MIInferiorTTYSet(MIControlDMContext dmc, String tty) { public MIInferiorTTYSet(MIControlDMContext dmc, String tty) {
this ((ICommandControlDMContext)dmc, tty); this ((ICommandControlDMContext)dmc, tty);
} }

View file

@ -33,6 +33,7 @@ public class MIVarAssign extends MICommand<MIVarAssignInfo>
super(ctx, "-var-assign", new String[]{name, expression}); //$NON-NLS-1$ super(ctx, "-var-assign", new String[]{name, expression}); //$NON-NLS-1$
} }
@Deprecated
public MIVarAssign(MIControlDMContext ctx, String name, String expression) { public MIVarAssign(MIControlDMContext ctx, String name, String expression) {
this ((ICommandControlDMContext)ctx, name, expression); this ((ICommandControlDMContext)ctx, name, expression);
} }

View file

@ -35,6 +35,7 @@ public class MIVarDelete extends MICommand<MIVarDeleteInfo>
super(dmc, "-var-delete", new String[]{name}); //$NON-NLS-1$ super(dmc, "-var-delete", new String[]{name}); //$NON-NLS-1$
} }
@Deprecated
public MIVarDelete(MIControlDMContext dmc, String name) { public MIVarDelete(MIControlDMContext dmc, String name) {
this ((ICommandControlDMContext)dmc, name); this ((ICommandControlDMContext)dmc, name);
} }

View file

@ -38,6 +38,7 @@ public class MIVarEvaluateExpression extends MICommand<MIVarEvaluateExpressionIn
super(dmc, "-var-evaluate-expression", new String[] { name }); //$NON-NLS-1$ super(dmc, "-var-evaluate-expression", new String[] { name }); //$NON-NLS-1$
} }
@Deprecated
public MIVarEvaluateExpression(MIControlDMContext dmc, String name) { public MIVarEvaluateExpression(MIControlDMContext dmc, String name) {
this ((ICommandControlDMContext)dmc, name); this ((ICommandControlDMContext)dmc, name);
} }

View file

@ -38,6 +38,7 @@ public class MIVarInfoExpression extends MICommand<MIVarInfoExpressionInfo>
super(ctx, "-var-info-expression", new String[]{name}); //$NON-NLS-1$ super(ctx, "-var-info-expression", new String[]{name}); //$NON-NLS-1$
} }
@Deprecated
public MIVarInfoExpression(MIControlDMContext ctx, String name) { public MIVarInfoExpression(MIControlDMContext ctx, String name) {
this ((ICommandControlDMContext)ctx, name); this ((ICommandControlDMContext)ctx, name);
} }

View file

@ -38,6 +38,7 @@ public class MIVarInfoPathExpression extends MICommand<MIVarInfoPathExpressionIn
super(dmc, "-var-info-path-expression", new String[]{name}); //$NON-NLS-1$ super(dmc, "-var-info-path-expression", new String[]{name}); //$NON-NLS-1$
} }
@Deprecated
public MIVarInfoPathExpression(MIControlDMContext dmc, String name) { public MIVarInfoPathExpression(MIControlDMContext dmc, String name) {
this ((ICommandControlDMContext)dmc, name); this ((ICommandControlDMContext)dmc, name);
} }

View file

@ -36,6 +36,7 @@ public class MIVarInfoType extends MICommand<MIVarInfoTypeInfo>
super(ctx, "-var-info-type", new String[]{name}); //$NON-NLS-1$ super(ctx, "-var-info-type", new String[]{name}); //$NON-NLS-1$
} }
@Deprecated
public MIVarInfoType(MIControlDMContext ctx, String name) { public MIVarInfoType(MIControlDMContext ctx, String name) {
this ((ICommandControlDMContext)ctx, name); this ((ICommandControlDMContext)ctx, name);
} }

View file

@ -37,6 +37,7 @@ public class MIVarListChildren extends MICommand<MIVarListChildrenInfo>
super(ctx, "-var-list-children", new String[]{name}); //$NON-NLS-1$ super(ctx, "-var-list-children", new String[]{name}); //$NON-NLS-1$
} }
@Deprecated
public MIVarListChildren(MIControlDMContext ctx, String name) { public MIVarListChildren(MIControlDMContext ctx, String name) {
this ((ICommandControlDMContext)ctx, name); this ((ICommandControlDMContext)ctx, name);
} }

View file

@ -42,6 +42,7 @@ public class MIVarSetFormat extends MICommand<MIVarSetFormatInfo>
setParameters(new String[]{name, getFormat(fmt)}); setParameters(new String[]{name, getFormat(fmt)});
} }
@Deprecated
public MIVarSetFormat(MIControlDMContext ctx, String name, String fmt) { public MIVarSetFormat(MIControlDMContext ctx, String name, String fmt) {
this ((ICommandControlDMContext)ctx, name, fmt); this ((ICommandControlDMContext)ctx, name, fmt);
} }

View file

@ -38,6 +38,7 @@ public class MIVarShowAttributes extends MICommand<MIVarShowAttributesInfo>
super(ctx, "-var-show-attributes", new String[]{name}); //$NON-NLS-1$ super(ctx, "-var-show-attributes", new String[]{name}); //$NON-NLS-1$
} }
@Deprecated
public MIVarShowAttributes(MIControlDMContext ctx, String name) { public MIVarShowAttributes(MIControlDMContext ctx, String name) {
this ((ICommandControlDMContext)ctx, name); this ((ICommandControlDMContext)ctx, name);
} }

View file

@ -35,6 +35,7 @@ public class MIVarShowFormat extends MICommand<MIVarShowFormatInfo>
super(ctx, "-var-show-format", new String[]{name}); //$NON-NLS-1$ super(ctx, "-var-show-format", new String[]{name}); //$NON-NLS-1$
} }
@Deprecated
public MIVarShowFormat(MIControlDMContext ctx, String name) { public MIVarShowFormat(MIControlDMContext ctx, String name) {
this ((ICommandControlDMContext)ctx, name); this ((ICommandControlDMContext)ctx, name);
} }

View file

@ -39,6 +39,7 @@ public class MIVarUpdate extends MICommand<MIVarUpdateInfo> {
super(dmc, "-var-update", new String[] { "1", name }); //$NON-NLS-1$//$NON-NLS-2$ super(dmc, "-var-update", new String[] { "1", name }); //$NON-NLS-1$//$NON-NLS-2$
} }
@Deprecated
public MIVarUpdate(MIControlDMContext ctx, String name) { public MIVarUpdate(MIControlDMContext ctx, String name) {
this ((ICommandControlDMContext)ctx, name); this ((ICommandControlDMContext)ctx, name);
} }

View file

@ -31,6 +31,7 @@ public class MIDetachedEvent extends MIEvent<ICommandControlDMContext> {
super(ctx, token, null); super(ctx, token, null);
} }
@Deprecated
public MIDetachedEvent(MIControlDMContext ctx, int token) { public MIDetachedEvent(MIControlDMContext ctx, int token) {
this ((ICommandControlDMContext)ctx, token); this ((ICommandControlDMContext)ctx, token);
} }

View file

@ -35,6 +35,7 @@ public class MIGDBExitEvent extends MIEvent<ICommandControlDMContext> {
super(ctx, token, null); super(ctx, token, null);
} }
@Deprecated
public MIGDBExitEvent(MIControlDMContext ctx, int token) { public MIGDBExitEvent(MIControlDMContext ctx, int token) {
this ((ICommandControlDMContext)ctx, token); this ((ICommandControlDMContext)ctx, token);
} }

View file

@ -38,6 +38,7 @@ public class MIInferiorExitEvent extends MIEvent<ICommandControlDMContext> {
this.code = code; this.code = code;
} }
@Deprecated
public MIInferiorExitEvent(MIControlDMContext ctx, int token, MIResult[] results, int code) { public MIInferiorExitEvent(MIControlDMContext ctx, int token, MIResult[] results, int code) {
this ((ICommandControlDMContext)ctx, token, results, code); this ((ICommandControlDMContext)ctx, token, results, code);
} }
@ -46,6 +47,7 @@ public class MIInferiorExitEvent extends MIEvent<ICommandControlDMContext> {
return code; return code;
} }
@Deprecated
public static MIInferiorExitEvent parse(MIControlDMContext ctx, int token, MIResult[] results) { public static MIInferiorExitEvent parse(MIControlDMContext ctx, int token, MIResult[] results) {
return parse((ICommandControlDMContext)ctx, token, results); return parse((ICommandControlDMContext)ctx, token, results);
} }

View file

@ -40,6 +40,7 @@ public class MIInferiorSignalExitEvent extends MIEvent<ICommandControlDMContext>
this.sigMeaning = sigMeaning; this.sigMeaning = sigMeaning;
} }
@Deprecated
public MIInferiorSignalExitEvent(MIControlDMContext ctx, int token, MIResult[] results, String sigName, String sigMeaning) { public MIInferiorSignalExitEvent(MIControlDMContext ctx, int token, MIResult[] results, String sigName, String sigMeaning) {
this((ICommandControlDMContext)ctx, token, results, sigName, sigMeaning); this((ICommandControlDMContext)ctx, token, results, sigName, sigMeaning);
} }
@ -52,6 +53,7 @@ public class MIInferiorSignalExitEvent extends MIEvent<ICommandControlDMContext>
return sigMeaning; return sigMeaning;
} }
@Deprecated
public static MIInferiorSignalExitEvent parse(MIControlDMContext ctx, int token, MIResult[] results) { public static MIInferiorSignalExitEvent parse(MIControlDMContext ctx, int token, MIResult[] results) {
return parse((ICommandControlDMContext)ctx, token, results); return parse((ICommandControlDMContext)ctx, token, results);
} }