1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-31 12:55:40 +02:00

bug 319826: Javadoc @deprecated warnings

This commit is contained in:
Andrew Gvozdev 2010-07-28 18:03:56 +00:00
parent 9e4a9af1d9
commit 3317bebc0f
7 changed files with 22 additions and 34 deletions

View file

@ -203,7 +203,7 @@ public interface IBuilder extends IBuildObject, IMakeBuilderInfo {
* *
* @param element * @param element
* *
* @deprecated * @deprecated as of CDT 4.0
*/ */
@Deprecated @Deprecated
public void setBuildFileGeneratorElement(IConfigurationElement element); public void setBuildFileGeneratorElement(IConfigurationElement element);

View file

@ -45,19 +45,16 @@ public interface IManagedBuildInfo {
/** /**
* Add a new target to the build information for the receiver * Add a new target to the build information for the receiver
* *
* @param target * @deprecated as of CDT 7.0
* @deprecated
*/ */
@Deprecated @Deprecated
public void addTarget(ITarget target); public void addTarget(ITarget target);
/** /**
* Answers <code>true</code> if the build system knows how to * @return <code>true</code> if the build system knows how to
* build a file with the extension passed in the argument. * build a file with the extension passed in the argument.
* *
* @param srcExt * @deprecated as of CDT 7.0
* @return
* @deprecated
*/ */
@Deprecated @Deprecated
public boolean buildsFileType(String srcExt); public boolean buildsFileType(String srcExt);
@ -332,11 +329,9 @@ public interface IManagedBuildInfo {
public IConfiguration getSelectedConfiguration(); public IConfiguration getSelectedConfiguration();
/** /**
* Get the target specified in the argument. * @return the target specified in the argument.
* *
* @param id * @deprecated as of CDT 7.0
* @return ITarget
* @deprecated
*/ */
@Deprecated @Deprecated
public ITarget getTarget(String id); public ITarget getTarget(String id);
@ -344,7 +339,8 @@ public interface IManagedBuildInfo {
/** /**
* Get all of the targets associated with the receiver. * Get all of the targets associated with the receiver.
* @return List<ITarget> * @return List<ITarget>
* @deprecated *
* @deprecated as of CDT 7.0
*/ */
@Deprecated @Deprecated
public List<ITarget> getTargets(); public List<ITarget> getTargets();
@ -386,11 +382,10 @@ public interface IManagedBuildInfo {
public ITool getToolFromOutputExtension(String extension); public ITool getToolFromOutputExtension(String extension);
/** /**
* Answers a <code>String</code> array containing the contents of the * @param extension the file extension of the build target
* user objects option, if one is defined for the target.
* *
* @param extension the file ecxtension of the build target * @return a <code>String</code> array containing the contents of the
* @return * user objects option, if one is defined for the target.
*/ */
public String[] getUserObjectsForConfiguration(String extension); public String[] getUserObjectsForConfiguration(String extension);

View file

@ -120,7 +120,8 @@ public interface ITarget extends IBuildObject {
* created by this target. * created by this target.
* *
* @return String * @return String
* @deprecated *
* @deprecated as of CDT 2.0
*/ */
@Deprecated @Deprecated
public String getDefaultExtension(); public String getDefaultExtension();

View file

@ -726,7 +726,7 @@ public class ManagedBuildInfo implements IManagedBuildInfo, IScannerInfo {
* *
* @param doc * @param doc
* @param element * @param element
* @deprecated * @deprecated as of CDT 7.0
*/ */
@Deprecated @Deprecated
public void serializeLegacy(Document doc, Element element) { public void serializeLegacy(Document doc, Element element) {

View file

@ -124,11 +124,6 @@ public class BuildMacroProvider implements IBuildMacroProvider, IMacroContextInf
return (IBuildMacroSupplier[])list.toArray(new IBuildMacroSupplier[list.size()]); return (IBuildMacroSupplier[])list.toArray(new IBuildMacroSupplier[list.size()]);
} }
/**
* @param contextType
* @param contextData
* @return
*/
public IMacroContextInfo getMacroContextInfo( public IMacroContextInfo getMacroContextInfo(
int contextType, int contextType,
Object contextData){ Object contextData){
@ -328,10 +323,7 @@ public class BuildMacroProvider implements IBuildMacroProvider, IMacroContextInf
} }
/** /**
* answers whether the environment macros are to be expanded in the buildfile * @return whether the environment macros are to be expanded in the buildfile
*
* @param cfg
* @return
*/ */
public boolean areMacrosExpandedInBuildfile(IConfiguration cfg){ public boolean areMacrosExpandedInBuildfile(IConfiguration cfg){
IBuilder builder = cfg.getBuilder(); IBuilder builder = cfg.getBuilder();

View file

@ -22,10 +22,10 @@ public interface IMakeBuilderInfo extends IMakeCommonBuildInfo {
public final static String BUILD_TARGET_AUTO = ARGS_PREFIX + ".build.target.auto"; //$NON-NLS-1$ public final static String BUILD_TARGET_AUTO = ARGS_PREFIX + ".build.target.auto"; //$NON-NLS-1$
public final static String BUILD_TARGET_CLEAN = ARGS_PREFIX + ".build.target.clean"; //$NON-NLS-1$ public final static String BUILD_TARGET_CLEAN = ARGS_PREFIX + ".build.target.clean"; //$NON-NLS-1$
/** @deprecated */ /** @deprecated as of CDT 4.0 */
@Deprecated @Deprecated
public final static String BUILD_TARGET_INCREAMENTAL = BUILD_TARGET_INCREMENTAL; public final static String BUILD_TARGET_INCREAMENTAL = BUILD_TARGET_INCREMENTAL;
/** @deprecated */ /** @deprecated as of CDT 4.0 */
@Deprecated @Deprecated
public final static String BUILD_TARGET_FULL = ARGS_PREFIX + ".build.target.full"; //$NON-NLS-1$ public final static String BUILD_TARGET_FULL = ARGS_PREFIX + ".build.target.full"; //$NON-NLS-1$
@ -35,7 +35,7 @@ public interface IMakeBuilderInfo extends IMakeCommonBuildInfo {
String getAutoBuildTarget(); String getAutoBuildTarget();
/** /**
* @deprecated * @deprecated as of CDT 4.0
*/ */
@Deprecated @Deprecated
void setAutoBuildTarget(String target) throws CoreException; void setAutoBuildTarget(String target) throws CoreException;
@ -46,7 +46,7 @@ public interface IMakeBuilderInfo extends IMakeCommonBuildInfo {
String getIncrementalBuildTarget(); String getIncrementalBuildTarget();
/** /**
* @deprecated * @deprecated as of CDT 4.0
*/ */
@Deprecated @Deprecated
void setIncrementalBuildTarget(String target) throws CoreException; void setIncrementalBuildTarget(String target) throws CoreException;
@ -57,7 +57,7 @@ public interface IMakeBuilderInfo extends IMakeCommonBuildInfo {
String getFullBuildTarget(); String getFullBuildTarget();
/** /**
* @deprecated * @deprecated as of CDT 4.0
*/ */
@Deprecated @Deprecated
void setFullBuildTarget(String target) throws CoreException; void setFullBuildTarget(String target) throws CoreException;
@ -65,7 +65,7 @@ public interface IMakeBuilderInfo extends IMakeCommonBuildInfo {
String getCleanBuildTarget(); String getCleanBuildTarget();
/** /**
* @deprecated * @deprecated as of CDT 4.0
*/ */
@Deprecated @Deprecated
void setCleanBuildTarget(String target) throws CoreException; void setCleanBuildTarget(String target) throws CoreException;

View file

@ -21,7 +21,7 @@ import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.CoreException;
/** /**
* @deprecated * @deprecated as of CDT 4.0
* @author DInglis * @author DInglis
* *
* @noextend This class is not intended to be subclassed by clients. * @noextend This class is not intended to be subclassed by clients.