mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 00:45:28 +02:00
bug 319820: Deprecated methods missing @Deprecated annotation
patch from Petri Tuononen
This commit is contained in:
parent
1c064087e4
commit
c066642a43
8 changed files with 21 additions and 0 deletions
|
@ -110,6 +110,7 @@ public interface IBuilder extends IBuildObject, IMakeBuilderInfo {
|
|||
* @return IConfigurationElement
|
||||
* @deprecated - use getBuildFileGenerator() instead
|
||||
*/
|
||||
@Deprecated
|
||||
public IConfigurationElement getBuildFileGeneratorElement();
|
||||
|
||||
/**
|
||||
|
@ -204,6 +205,7 @@ public interface IBuilder extends IBuildObject, IMakeBuilderInfo {
|
|||
*
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated
|
||||
public void setBuildFileGeneratorElement(IConfigurationElement element);
|
||||
|
||||
/**
|
||||
|
|
|
@ -58,6 +58,7 @@ public interface IHoldsOptions extends IBuildObject {
|
|||
* @return <code>IOption</code>
|
||||
* @deprecated use getOptionById() instead
|
||||
*/
|
||||
@Deprecated
|
||||
public IOption getOption(String id);
|
||||
|
||||
/**
|
||||
|
|
|
@ -82,6 +82,7 @@ public interface IManagedBuildInfo {
|
|||
*
|
||||
* @deprecated - use generateToolCommandLineInfo instead
|
||||
*/
|
||||
@Deprecated
|
||||
public IManagedCommandLineInfo generateCommandLineInfo( String sourceExtension, String[] flags,
|
||||
String outputFlag, String outputPrefix, String outputName, String[] inputResources );
|
||||
|
||||
|
@ -219,6 +220,7 @@ public interface IManagedBuildInfo {
|
|||
*
|
||||
* @deprecated - use getToolFlagsForConfiguration
|
||||
*/
|
||||
@Deprecated
|
||||
public String getFlagsForConfiguration(String extension);
|
||||
|
||||
/**
|
||||
|
@ -255,6 +257,7 @@ public interface IManagedBuildInfo {
|
|||
*
|
||||
* @deprecated - use getToolFlagsForSource
|
||||
*/
|
||||
@Deprecated
|
||||
public String getFlagsForSource(String extension);
|
||||
|
||||
/**
|
||||
|
|
|
@ -49,6 +49,7 @@ public interface IOptionCategory extends IBuildObject {
|
|||
/**
|
||||
* @deprecated since 3.1 - use getOption with IHoldsOptions aregument instead
|
||||
*/
|
||||
@Deprecated
|
||||
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
|
||||
public Object[][] getOptions(IResourceConfiguration resConfig);
|
||||
|
||||
/**
|
||||
|
@ -84,6 +86,7 @@ public interface IOptionCategory extends IBuildObject {
|
|||
* @return
|
||||
* @deprecated since 3.0 - use getOptionHolder() instead
|
||||
*/
|
||||
@Deprecated
|
||||
public ITool getTool();
|
||||
|
||||
/**
|
||||
|
|
|
@ -100,6 +100,7 @@ public interface ITargetPlatform extends IBuildObject {
|
|||
* @return String
|
||||
* @deprecated Use getBinaryParserList
|
||||
*/
|
||||
@Deprecated
|
||||
public String getBinaryParserId();
|
||||
|
||||
/**
|
||||
|
@ -115,6 +116,7 @@ public interface ITargetPlatform extends IBuildObject {
|
|||
* @param id
|
||||
* @deprecated Use setBinaryParserList
|
||||
*/
|
||||
@Deprecated
|
||||
public void setBinaryParserId(String id);
|
||||
|
||||
/**
|
||||
|
|
|
@ -287,6 +287,7 @@ public interface ITool extends IBuildObject, IHoldsOptions {
|
|||
* @return List
|
||||
* @deprecated - use getPrimaryInputExtensions or getAllInputExtensions
|
||||
*/
|
||||
@Deprecated
|
||||
public List getInputExtensions();
|
||||
|
||||
/**
|
||||
|
@ -328,6 +329,7 @@ public interface ITool extends IBuildObject, IHoldsOptions {
|
|||
* @return List
|
||||
* @deprecated - use getDependency* methods
|
||||
*/
|
||||
@Deprecated
|
||||
public List getInterfaceExtensions();
|
||||
|
||||
/**
|
||||
|
@ -364,6 +366,7 @@ public interface ITool extends IBuildObject, IHoldsOptions {
|
|||
* @return <code>String[]</code> of extensions
|
||||
* @deprecated - use getAllOutputExtensions
|
||||
*/
|
||||
@Deprecated
|
||||
public String[] getOutputExtensions();
|
||||
|
||||
/**
|
||||
|
@ -516,6 +519,7 @@ public interface ITool extends IBuildObject, IHoldsOptions {
|
|||
* @return IManagedDependencyGenerator
|
||||
* @deprecated - use getDependencyGeneratorForExtension or IInputType method
|
||||
*/
|
||||
@Deprecated
|
||||
public IManagedDependencyGenerator getDependencyGenerator();
|
||||
|
||||
/**
|
||||
|
@ -545,6 +549,7 @@ public interface ITool extends IBuildObject, IHoldsOptions {
|
|||
*
|
||||
* @deprecated - use getToolCommandFlags instead
|
||||
*/
|
||||
@Deprecated
|
||||
public String[] getCommandFlags() throws BuildException;
|
||||
|
||||
/**
|
||||
|
@ -561,6 +566,7 @@ public interface ITool extends IBuildObject, IHoldsOptions {
|
|||
*
|
||||
* @deprecated - use getToolCommandFlagsString instead
|
||||
*/
|
||||
@Deprecated
|
||||
public String getToolFlags() throws BuildException ;
|
||||
|
||||
/**
|
||||
|
|
|
@ -20,6 +20,7 @@ import org.eclipse.core.resources.IResource;
|
|||
*
|
||||
* Use IManagedDependencyGenerator2 instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface IManagedDependencyGenerator extends IManagedDependencyGeneratorType {
|
||||
|
||||
public IResource[] findDependencies(IResource resource, IProject project);
|
||||
|
|
|
@ -35,6 +35,7 @@ public interface IMakeCommonBuildInfo {
|
|||
/**
|
||||
* @deprecated - use setBuildString(BUILD_LOCATION...)
|
||||
*/
|
||||
@Deprecated
|
||||
void setBuildLocation(IPath location) throws CoreException;
|
||||
|
||||
boolean isStopOnError();
|
||||
|
@ -55,6 +56,7 @@ public interface IMakeCommonBuildInfo {
|
|||
/**
|
||||
* @deprecated - use setBuildString(BUILD_COMMAND...)
|
||||
*/
|
||||
@Deprecated
|
||||
void setBuildCommand(IPath command) throws CoreException;
|
||||
|
||||
String getBuildArguments();
|
||||
|
@ -62,6 +64,7 @@ public interface IMakeCommonBuildInfo {
|
|||
/**
|
||||
* @deprecated - use setBuildString(BUILD_ARGUMENTS...)
|
||||
*/
|
||||
@Deprecated
|
||||
void setBuildArguments(String args) throws CoreException;
|
||||
|
||||
String[] getErrorParsers();
|
||||
|
|
Loading…
Add table
Reference in a new issue