From e8213acedfc8b98e982ab774a9961bf03d4a9c83 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sun, 31 Jul 2016 13:22:29 -0700 Subject: [PATCH] Cosmetics --- .../dom/ast/IASTDeclarationListOwner.java | 3 +-- .../ast/cpp/ICPPASTNamespaceDefinition.java | 21 ++++++++----------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTDeclarationListOwner.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTDeclarationListOwner.java index e1b25bc7527..024d61cbd5e 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTDeclarationListOwner.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTDeclarationListOwner.java @@ -6,7 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Markus Schorn - initial API and implementation + * Markus Schorn - initial API and implementation *******************************************************************************/ package org.eclipse.cdt.core.dom.ast; @@ -19,7 +19,6 @@ import org.eclipse.cdt.core.model.ITranslationUnit; * @noimplement This interface is not intended to be implemented by clients. */ public interface IASTDeclarationListOwner extends IASTNode { - /** * Adds a declaration to the owner. May only be called as long as the ast is not frozen. */ diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTNamespaceDefinition.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTNamespaceDefinition.java index 1c0a67a7fb7..91586968d14 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTNamespaceDefinition.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTNamespaceDefinition.java @@ -28,36 +28,33 @@ import org.eclipse.cdt.core.dom.ast.IScope; public interface ICPPASTNamespaceDefinition extends IASTDeclaration, IASTNameOwner, IASTDeclarationListOwner, IASTAttributeOwner { /** - * OWNED_DECLARATION is the role served by all the nested - * declarations. + * {@code OWNED_DECLARATION} is the role served by all the nested declarations. */ public static final ASTNodeProperty OWNED_DECLARATION = new ASTNodeProperty( "ICPPASTNamespaceDefinition.OWNED_DECLARATION - Role served by nested declarations"); //$NON-NLS-1$ /** - * NAMESPACE_NAME is the role served by the name in this - * interface. + * {@code NAMESPACE_NAME} is the role served by the name in this interface. */ public static final ASTNodeProperty NAMESPACE_NAME = new ASTNodeProperty( "ICPPASTNamespaceDefinition.NAMESPACE_NAME - Role served by name"); //$NON-NLS-1$ /** - * Get the name. + * Returns the name of the namespace. * - * @return IASTName + * @return {@code IASTName} */ public IASTName getName(); /** - * Set the name. + * Sets the name. * - * @param name - * IASTName + * @param name the name to be set */ public void setName(IASTName name); /** - * Specify whether the namespace definition is inline. + * Specifies whether the namespace definition is inline. * @since 5.3 */ public void setIsInline(boolean isInline); @@ -78,7 +75,7 @@ public interface ICPPASTNamespaceDefinition extends IASTDeclaration, IASTNameOwn /** * Adds a declaration to the namespace. * - * @param declaration IASTDeclaration + * @param declaration {@code IASTDeclaration} */ @Override public void addDeclaration(IASTDeclaration declaration); @@ -86,7 +83,7 @@ public interface ICPPASTNamespaceDefinition extends IASTDeclaration, IASTNameOwn /** * Returns the scope object represented by this construct. * - * @return IScope + * @return {@code IScope} */ public IScope getScope();