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>
* This class may be instantiated. This class is not intended to be subclassed.
* </p>
*
* @since 2.0
*/
public class CMainTab extends CLaunchConfigurationTab {

View file

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

View file

@ -147,6 +147,7 @@ public class MIInferiorProcess extends Process
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
@ -177,6 +177,7 @@ public class MIInferiorProcess extends Process
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;
}

View file

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

View file

@ -29,6 +29,7 @@ public class CLISource extends CLICommand<MIInfo> {
super(ctx, "source " + file); //$NON-NLS-1$
}
@Deprecated
public CLISource(MIControlDMContext ctx, String 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$
}
@Deprecated
public MIDataEvaluateExpression(MIControlDMContext ctx, String 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$
}
@Deprecated
public MIFileExecAndSymbols(MIControlDMContext dmc, String file) {
this ((ICommandControlDMContext)dmc, file);
}
@ -44,6 +45,7 @@ public class MIFileExecAndSymbols extends MICommand<MIInfo>
super(dmc, "-file-exec-and-symbols"); //$NON-NLS-1$
}
@Deprecated
public MIFileExecAndSymbols(MIControlDMContext 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$
}
@Deprecated
public MIFileExecFile(MIControlDMContext dmc, String file) {
this ((ICommandControlDMContext)dmc, file);
}
@ -45,6 +46,7 @@ public class MIFileExecFile extends MICommand<MIInfo>
super(dmc, "-file-exec-file"); //$NON-NLS-1$
}
@Deprecated
public MIFileExecFile(MIControlDMContext 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$
}
@Deprecated
public MIFileSymbolFile(MIControlDMContext dmc, String file) {
this ((ICommandControlDMContext)dmc, file);
}
@ -44,6 +45,7 @@ public class MIFileSymbolFile extends MICommand<MIInfo>
super(dmc, "-file-symbol-file"); //$NON-NLS-1$
}
@Deprecated
public MIFileSymbolFile(MIControlDMContext 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$
}
@Deprecated
public MIGDBSetAutoSolib(MIControlDMContext ctx, boolean isSet) {
this ((ICommandControlDMContext)ctx, isSet);
}

View file

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

View file

@ -34,6 +34,7 @@ public class MIGDBShowExitCode extends MIDataEvaluateExpression<MIGDBShowExitCod
super(ctx, "$_exitcode"); //$NON-NLS-1$
}
@Deprecated
public MIGDBShowExitCode(MIControlDMContext 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$
}
@Deprecated
public MIInferiorTTYSet(MIControlDMContext dmc, String 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$
}
@Deprecated
public MIVarAssign(MIControlDMContext ctx, String name, String 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$
}
@Deprecated
public MIVarDelete(MIControlDMContext dmc, String 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$
}
@Deprecated
public MIVarEvaluateExpression(MIControlDMContext dmc, String 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$
}
@Deprecated
public MIVarInfoExpression(MIControlDMContext ctx, String 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$
}
@Deprecated
public MIVarInfoPathExpression(MIControlDMContext dmc, String 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$
}
@Deprecated
public MIVarInfoType(MIControlDMContext ctx, String 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$
}
@Deprecated
public MIVarListChildren(MIControlDMContext ctx, String name) {
this ((ICommandControlDMContext)ctx, name);
}

View file

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

View file

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

View file

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

View file

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

View file

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