1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-04 22:23:28 +02:00

bug 319820: Deprecated methods missing @Deprecated annotation

patch from Petri Tuononen
This commit is contained in:
Andrew Gvozdev 2010-07-16 14:12:50 +00:00
parent 1c064087e4
commit c066642a43
8 changed files with 21 additions and 0 deletions

View file

@ -110,6 +110,7 @@ public interface IBuilder extends IBuildObject, IMakeBuilderInfo {
* @return IConfigurationElement * @return IConfigurationElement
* @deprecated - use getBuildFileGenerator() instead * @deprecated - use getBuildFileGenerator() instead
*/ */
@Deprecated
public IConfigurationElement getBuildFileGeneratorElement(); public IConfigurationElement getBuildFileGeneratorElement();
/** /**
@ -204,6 +205,7 @@ public interface IBuilder extends IBuildObject, IMakeBuilderInfo {
* *
* @deprecated * @deprecated
*/ */
@Deprecated
public void setBuildFileGeneratorElement(IConfigurationElement element); public void setBuildFileGeneratorElement(IConfigurationElement element);
/** /**

View file

@ -58,6 +58,7 @@ public interface IHoldsOptions extends IBuildObject {
* @return <code>IOption</code> * @return <code>IOption</code>
* @deprecated use getOptionById() instead * @deprecated use getOptionById() instead
*/ */
@Deprecated
public IOption getOption(String id); public IOption getOption(String id);
/** /**

View file

@ -82,6 +82,7 @@ public interface IManagedBuildInfo {
* *
* @deprecated - use generateToolCommandLineInfo instead * @deprecated - use generateToolCommandLineInfo instead
*/ */
@Deprecated
public IManagedCommandLineInfo generateCommandLineInfo( String sourceExtension, String[] flags, public IManagedCommandLineInfo generateCommandLineInfo( String sourceExtension, String[] flags,
String outputFlag, String outputPrefix, String outputName, String[] inputResources ); String outputFlag, String outputPrefix, String outputName, String[] inputResources );
@ -219,6 +220,7 @@ public interface IManagedBuildInfo {
* *
* @deprecated - use getToolFlagsForConfiguration * @deprecated - use getToolFlagsForConfiguration
*/ */
@Deprecated
public String getFlagsForConfiguration(String extension); public String getFlagsForConfiguration(String extension);
/** /**
@ -255,6 +257,7 @@ public interface IManagedBuildInfo {
* *
* @deprecated - use getToolFlagsForSource * @deprecated - use getToolFlagsForSource
*/ */
@Deprecated
public String getFlagsForSource(String extension); public String getFlagsForSource(String extension);
/** /**

View file

@ -49,6 +49,7 @@ public interface IOptionCategory extends IBuildObject {
/** /**
* @deprecated since 3.1 - use getOption with IHoldsOptions aregument instead * @deprecated since 3.1 - use getOption with IHoldsOptions aregument instead
*/ */
@Deprecated
public Object[][] getOptions(IConfiguration configuration); public Object[][] getOptions(IConfiguration configuration);
/** /**
@ -67,6 +68,7 @@ public interface IOptionCategory extends IBuildObject {
/** /**
* @deprecated since 3.1 - use getOption with IHoldsOptions aregument instead * @deprecated since 3.1 - use getOption with IHoldsOptions aregument instead
*/ */
@Deprecated
public Object[][] getOptions(IResourceConfiguration resConfig); public Object[][] getOptions(IResourceConfiguration resConfig);
/** /**
@ -84,6 +86,7 @@ public interface IOptionCategory extends IBuildObject {
* @return * @return
* @deprecated since 3.0 - use getOptionHolder() instead * @deprecated since 3.0 - use getOptionHolder() instead
*/ */
@Deprecated
public ITool getTool(); public ITool getTool();
/** /**

View file

@ -100,6 +100,7 @@ public interface ITargetPlatform extends IBuildObject {
* @return String * @return String
* @deprecated Use getBinaryParserList * @deprecated Use getBinaryParserList
*/ */
@Deprecated
public String getBinaryParserId(); public String getBinaryParserId();
/** /**
@ -115,6 +116,7 @@ public interface ITargetPlatform extends IBuildObject {
* @param id * @param id
* @deprecated Use setBinaryParserList * @deprecated Use setBinaryParserList
*/ */
@Deprecated
public void setBinaryParserId(String id); public void setBinaryParserId(String id);
/** /**

View file

@ -287,6 +287,7 @@ public interface ITool extends IBuildObject, IHoldsOptions {
* @return List * @return List
* @deprecated - use getPrimaryInputExtensions or getAllInputExtensions * @deprecated - use getPrimaryInputExtensions or getAllInputExtensions
*/ */
@Deprecated
public List getInputExtensions(); public List getInputExtensions();
/** /**
@ -328,6 +329,7 @@ public interface ITool extends IBuildObject, IHoldsOptions {
* @return List * @return List
* @deprecated - use getDependency* methods * @deprecated - use getDependency* methods
*/ */
@Deprecated
public List getInterfaceExtensions(); public List getInterfaceExtensions();
/** /**
@ -364,6 +366,7 @@ public interface ITool extends IBuildObject, IHoldsOptions {
* @return <code>String[]</code> of extensions * @return <code>String[]</code> of extensions
* @deprecated - use getAllOutputExtensions * @deprecated - use getAllOutputExtensions
*/ */
@Deprecated
public String[] getOutputExtensions(); public String[] getOutputExtensions();
/** /**
@ -516,6 +519,7 @@ public interface ITool extends IBuildObject, IHoldsOptions {
* @return IManagedDependencyGenerator * @return IManagedDependencyGenerator
* @deprecated - use getDependencyGeneratorForExtension or IInputType method * @deprecated - use getDependencyGeneratorForExtension or IInputType method
*/ */
@Deprecated
public IManagedDependencyGenerator getDependencyGenerator(); public IManagedDependencyGenerator getDependencyGenerator();
/** /**
@ -545,6 +549,7 @@ public interface ITool extends IBuildObject, IHoldsOptions {
* *
* @deprecated - use getToolCommandFlags instead * @deprecated - use getToolCommandFlags instead
*/ */
@Deprecated
public String[] getCommandFlags() throws BuildException; public String[] getCommandFlags() throws BuildException;
/** /**
@ -561,6 +566,7 @@ public interface ITool extends IBuildObject, IHoldsOptions {
* *
* @deprecated - use getToolCommandFlagsString instead * @deprecated - use getToolCommandFlagsString instead
*/ */
@Deprecated
public String getToolFlags() throws BuildException ; public String getToolFlags() throws BuildException ;
/** /**

View file

@ -20,6 +20,7 @@ import org.eclipse.core.resources.IResource;
* *
* Use IManagedDependencyGenerator2 instead. * Use IManagedDependencyGenerator2 instead.
*/ */
@Deprecated
public interface IManagedDependencyGenerator extends IManagedDependencyGeneratorType { public interface IManagedDependencyGenerator extends IManagedDependencyGeneratorType {
public IResource[] findDependencies(IResource resource, IProject project); public IResource[] findDependencies(IResource resource, IProject project);

View file

@ -35,6 +35,7 @@ public interface IMakeCommonBuildInfo {
/** /**
* @deprecated - use setBuildString(BUILD_LOCATION...) * @deprecated - use setBuildString(BUILD_LOCATION...)
*/ */
@Deprecated
void setBuildLocation(IPath location) throws CoreException; void setBuildLocation(IPath location) throws CoreException;
boolean isStopOnError(); boolean isStopOnError();
@ -55,6 +56,7 @@ public interface IMakeCommonBuildInfo {
/** /**
* @deprecated - use setBuildString(BUILD_COMMAND...) * @deprecated - use setBuildString(BUILD_COMMAND...)
*/ */
@Deprecated
void setBuildCommand(IPath command) throws CoreException; void setBuildCommand(IPath command) throws CoreException;
String getBuildArguments(); String getBuildArguments();
@ -62,6 +64,7 @@ public interface IMakeCommonBuildInfo {
/** /**
* @deprecated - use setBuildString(BUILD_ARGUMENTS...) * @deprecated - use setBuildString(BUILD_ARGUMENTS...)
*/ */
@Deprecated
void setBuildArguments(String args) throws CoreException; void setBuildArguments(String args) throws CoreException;
String[] getErrorParsers(); String[] getErrorParsers();