mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
bug 319826: Javadoc @deprecated warnings
This commit is contained in:
parent
9e4a9af1d9
commit
3317bebc0f
7 changed files with 22 additions and 34 deletions
|
@ -203,7 +203,7 @@ public interface IBuilder extends IBuildObject, IMakeBuilderInfo {
|
|||
*
|
||||
* @param element
|
||||
*
|
||||
* @deprecated
|
||||
* @deprecated as of CDT 4.0
|
||||
*/
|
||||
@Deprecated
|
||||
public void setBuildFileGeneratorElement(IConfigurationElement element);
|
||||
|
|
|
@ -45,19 +45,16 @@ public interface IManagedBuildInfo {
|
|||
/**
|
||||
* Add a new target to the build information for the receiver
|
||||
*
|
||||
* @param target
|
||||
* @deprecated
|
||||
* @deprecated as of CDT 7.0
|
||||
*/
|
||||
@Deprecated
|
||||
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.
|
||||
*
|
||||
* @param srcExt
|
||||
* @return
|
||||
* @deprecated
|
||||
* @deprecated as of CDT 7.0
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean buildsFileType(String srcExt);
|
||||
|
@ -332,11 +329,9 @@ public interface IManagedBuildInfo {
|
|||
public IConfiguration getSelectedConfiguration();
|
||||
|
||||
/**
|
||||
* Get the target specified in the argument.
|
||||
* @return the target specified in the argument.
|
||||
*
|
||||
* @param id
|
||||
* @return ITarget
|
||||
* @deprecated
|
||||
* @deprecated as of CDT 7.0
|
||||
*/
|
||||
@Deprecated
|
||||
public ITarget getTarget(String id);
|
||||
|
@ -344,7 +339,8 @@ public interface IManagedBuildInfo {
|
|||
/**
|
||||
* Get all of the targets associated with the receiver.
|
||||
* @return List<ITarget>
|
||||
* @deprecated
|
||||
*
|
||||
* @deprecated as of CDT 7.0
|
||||
*/
|
||||
@Deprecated
|
||||
public List<ITarget> getTargets();
|
||||
|
@ -386,11 +382,10 @@ public interface IManagedBuildInfo {
|
|||
public ITool getToolFromOutputExtension(String extension);
|
||||
|
||||
/**
|
||||
* Answers a <code>String</code> array containing the contents of the
|
||||
* user objects option, if one is defined for the target.
|
||||
* @param extension the file extension of the build target
|
||||
*
|
||||
* @param extension the file ecxtension of the build target
|
||||
* @return
|
||||
* @return a <code>String</code> array containing the contents of the
|
||||
* user objects option, if one is defined for the target.
|
||||
*/
|
||||
public String[] getUserObjectsForConfiguration(String extension);
|
||||
|
||||
|
|
|
@ -120,7 +120,8 @@ public interface ITarget extends IBuildObject {
|
|||
* created by this target.
|
||||
*
|
||||
* @return String
|
||||
* @deprecated
|
||||
*
|
||||
* @deprecated as of CDT 2.0
|
||||
*/
|
||||
@Deprecated
|
||||
public String getDefaultExtension();
|
||||
|
|
|
@ -726,7 +726,7 @@ public class ManagedBuildInfo implements IManagedBuildInfo, IScannerInfo {
|
|||
*
|
||||
* @param doc
|
||||
* @param element
|
||||
* @deprecated
|
||||
* @deprecated as of CDT 7.0
|
||||
*/
|
||||
@Deprecated
|
||||
public void serializeLegacy(Document doc, Element element) {
|
||||
|
|
|
@ -124,11 +124,6 @@ public class BuildMacroProvider implements IBuildMacroProvider, IMacroContextInf
|
|||
return (IBuildMacroSupplier[])list.toArray(new IBuildMacroSupplier[list.size()]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param contextType
|
||||
* @param contextData
|
||||
* @return
|
||||
*/
|
||||
public IMacroContextInfo getMacroContextInfo(
|
||||
int contextType,
|
||||
Object contextData){
|
||||
|
@ -328,10 +323,7 @@ public class BuildMacroProvider implements IBuildMacroProvider, IMacroContextInf
|
|||
}
|
||||
|
||||
/**
|
||||
* answers whether the environment macros are to be expanded in the buildfile
|
||||
*
|
||||
* @param cfg
|
||||
* @return
|
||||
* @return whether the environment macros are to be expanded in the buildfile
|
||||
*/
|
||||
public boolean areMacrosExpandedInBuildfile(IConfiguration cfg){
|
||||
IBuilder builder = cfg.getBuilder();
|
||||
|
|
|
@ -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_CLEAN = ARGS_PREFIX + ".build.target.clean"; //$NON-NLS-1$
|
||||
|
||||
/** @deprecated */
|
||||
/** @deprecated as of CDT 4.0 */
|
||||
@Deprecated
|
||||
public final static String BUILD_TARGET_INCREAMENTAL = BUILD_TARGET_INCREMENTAL;
|
||||
/** @deprecated */
|
||||
/** @deprecated as of CDT 4.0 */
|
||||
@Deprecated
|
||||
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();
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @deprecated as of CDT 4.0
|
||||
*/
|
||||
@Deprecated
|
||||
void setAutoBuildTarget(String target) throws CoreException;
|
||||
|
@ -46,7 +46,7 @@ public interface IMakeBuilderInfo extends IMakeCommonBuildInfo {
|
|||
String getIncrementalBuildTarget();
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @deprecated as of CDT 4.0
|
||||
*/
|
||||
@Deprecated
|
||||
void setIncrementalBuildTarget(String target) throws CoreException;
|
||||
|
@ -57,7 +57,7 @@ public interface IMakeBuilderInfo extends IMakeCommonBuildInfo {
|
|||
String getFullBuildTarget();
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @deprecated as of CDT 4.0
|
||||
*/
|
||||
@Deprecated
|
||||
void setFullBuildTarget(String target) throws CoreException;
|
||||
|
@ -65,7 +65,7 @@ public interface IMakeBuilderInfo extends IMakeCommonBuildInfo {
|
|||
String getCleanBuildTarget();
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @deprecated as of CDT 4.0
|
||||
*/
|
||||
@Deprecated
|
||||
void setCleanBuildTarget(String target) throws CoreException;
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.eclipse.core.resources.IProject;
|
|||
import org.eclipse.core.runtime.CoreException;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @deprecated as of CDT 4.0
|
||||
* @author DInglis
|
||||
*
|
||||
* @noextend This class is not intended to be subclassed by clients.
|
||||
|
|
Loading…
Add table
Reference in a new issue