1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 534332: Mark long deprecated interfaces as noimplement/noextend

Change in super-hierarchy caused API breakage. As these interfaces
have long since been deprecated, rather than adding default methods
for them, simply mark them as noimplement/noextend. The implementation
in CDT already has the new effective method - getAttributeSpecifiers() -
implemented.

Change-Id: I252fdeb33c0edcbe73338dc6fca477201bd4d468
This commit is contained in:
Jonah Graham 2018-05-26 13:51:48 +01:00
parent ce857c058c
commit 74c80478d9
2 changed files with 4 additions and 0 deletions

View file

@ -18,6 +18,8 @@ import org.eclipse.cdt.core.dom.ast.c.ICASTSimpleDeclSpecifier;
/**
* @deprecated Everything can be expressed as {@link ICASTSimpleDeclSpecifier}.
* @noreference This interface is not intended to be referenced by clients.
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
@Deprecated
public interface IGCCASTSimpleDeclSpecifier extends ICASTSimpleDeclSpecifier {

View file

@ -15,6 +15,8 @@ import org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier;
/**
* @deprecated Replaced by {@link IASTDeclSpecifier}.
* @noreference This interface is not intended to be referenced by clients.
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
@Deprecated
public interface IGPPASTDeclSpecifier extends IASTDeclSpecifier {