From 5e8ca6778db6bd03182e018b1e6ea9bceba6dbca Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Fri, 28 Oct 2011 12:13:13 -0700 Subject: [PATCH] Added missing @Override annotations. --- .../cdt/core/dom/ast/IASTCompositeTypeSpecifier.java | 8 ++++---- .../eclipse/cdt/core/dom/ast/IASTCompoundStatement.java | 4 +++- .../eclipse/cdt/core/dom/ast/IASTFunctionDefinition.java | 4 +++- .../core/dom/ast/cpp/ICPPASTCompositeTypeSpecifier.java | 5 +++++ 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTCompositeTypeSpecifier.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTCompositeTypeSpecifier.java index 1dd364ab631..c4c407f62a7 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTCompositeTypeSpecifier.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTCompositeTypeSpecifier.java @@ -6,18 +6,17 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Doug Schaefer (IBM) - Initial API and implementation + * Doug Schaefer (IBM) - Initial API and implementation *******************************************************************************/ package org.eclipse.cdt.core.dom.ast; /** - * A composite type specifier represents a ocmposite structure (contains - * declarations). + * A composite type specifier represents a composite structure (contains declarations). * * @noextend This interface is not intended to be extended by clients. * @noimplement This interface is not intended to be implemented by clients. */ -public interface IASTCompositeTypeSpecifier extends IASTDeclSpecifier , IASTNameOwner, IASTDeclarationListOwner { +public interface IASTCompositeTypeSpecifier extends IASTDeclSpecifier, IASTNameOwner, IASTDeclarationListOwner { /** * TYPE_NAME represents the relationship between an @@ -101,5 +100,6 @@ public interface IASTCompositeTypeSpecifier extends IASTDeclSpecifier , IASTName /** * @since 5.1 */ + @Override public IASTCompositeTypeSpecifier copy(); } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTCompoundStatement.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTCompoundStatement.java index b2c555cf3d5..7a8b29c66b4 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTCompoundStatement.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTCompoundStatement.java @@ -6,7 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Doug Schaefer (IBM) - Initial API and implementation + * Doug Schaefer (IBM) - Initial API and implementation *******************************************************************************/ package org.eclipse.cdt.core.dom.ast; @@ -52,10 +52,12 @@ public interface IASTCompoundStatement extends IASTStatement { /** * @since 5.1 */ + @Override public IASTCompoundStatement copy(); /** * @since 5.3 */ + @Override public IASTCompoundStatement copy(CopyStyle style); } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTFunctionDefinition.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTFunctionDefinition.java index 99ea2f6955e..7cf4d873fe1 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTFunctionDefinition.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTFunctionDefinition.java @@ -6,7 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Doug Schaefer (IBM) - Initial API and implementation + * Doug Schaefer (IBM) - Initial API and implementation *******************************************************************************/ package org.eclipse.cdt.core.dom.ast; @@ -103,10 +103,12 @@ public interface IASTFunctionDefinition extends IASTDeclaration { /** * @since 5.1 */ + @Override public IASTFunctionDefinition copy(); /** * @since 5.3 */ + @Override public IASTFunctionDefinition copy(CopyStyle style); } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTCompositeTypeSpecifier.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTCompositeTypeSpecifier.java index b41944e68f5..96ab919ceca 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTCompositeTypeSpecifier.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTCompositeTypeSpecifier.java @@ -84,11 +84,13 @@ public interface ICPPASTCompositeTypeSpecifier extends IASTCompositeTypeSpecifie /** * @since 5.1 */ + @Override public ICPPASTBaseSpecifier copy(); /** * @since 5.3 */ + @Override public ICPPASTBaseSpecifier copy(CopyStyle style); /** @@ -125,15 +127,18 @@ public interface ICPPASTCompositeTypeSpecifier extends IASTCompositeTypeSpecifie /** * @since 5.1 */ + @Override public ICPPClassScope getScope(); /** * @since 5.1 */ + @Override public ICPPASTCompositeTypeSpecifier copy(); /** * @since 5.3 */ + @Override public ICPPASTCompositeTypeSpecifier copy(CopyStyle style); }