From 39acee2d9870cbcbe444845a1200dd7f3e6276e4 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sun, 25 Nov 2012 14:55:39 -0800 Subject: [PATCH] Cosmetics. --- .../dom/ast/cpp/ICPPASTAliasDeclaration.java | 28 +++++++++---------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTAliasDeclaration.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTAliasDeclaration.java index a879faa3db2..4668362a9c1 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTAliasDeclaration.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTAliasDeclaration.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2012 Institute for Software, HSR Hochschule fuer Technik + * Copyright (c) 2012 Institute for Software, HSR Hochschule fuer Technik * Rapperswil, University of applied sciences. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -20,19 +20,19 @@ import org.eclipse.cdt.core.dom.ast.IASTNameOwner; * This interface represents a C++ alias declaration. * e.g. struct Type {}; using Alias = Type; * @since 5.5 - * + * * @noextend This interface is not intended to be extended by clients. * @noimplement This interface is not intended to be implemented by clients. */ public interface ICPPASTAliasDeclaration extends IASTDeclaration, IASTNameOwner { - public static final ICPPASTAliasDeclaration[] EMPTY_USINGDIRECTIVE_ARRAY = new ICPPASTAliasDeclaration[0]; + public static final ICPPASTAliasDeclaration[] EMPTY_USINGDIRECTIVE_ARRAY = {}; /** * ALIAS_NAME is the name that is brought into local * scope. */ public static final ASTNodeProperty ALIAS_NAME = new ASTNodeProperty( - "ICPPASTAliasDeclaration.ALIAS_NAME - New alias name introduced"); //$NON-NLS-1$ + "ICPPASTAliasDeclaration.ALIAS_NAME - Introduced alias name"); //$NON-NLS-1$ /** * MAPPING_TYPE represents the pre-existing type id which @@ -40,37 +40,35 @@ public interface ICPPASTAliasDeclaration extends IASTDeclaration, IASTNameOwner */ public static final ASTNodeProperty TARGET_TYPEID = new ASTNodeProperty( "ICPPASTAliasDeclaration.TARGET_TYPEID - Pre-existing type ID the new symbol aliases"); //$NON-NLS-1$ - + /** * Get the alias name. - * + * * @return IASTName */ public IASTName getAlias(); - + /** * Set the alias name. - * - * @param aliasName - * IASTName + * + * @param aliasName IASTName */ public void setAlias(IASTName aliasName); /** * Get the mapping type id. - * + * * @return ICPPASTTypeId */ public ICPPASTTypeId getMappingTypeId(); /** * Set the mapping type id. - * - * @param mappingTypeId - * ICPPASTTypeId + * + * @param mappingTypeId ICPPASTTypeId */ public void setMappingTypeId(ICPPASTTypeId mappingTypeId); - + @Override public ICPPASTAliasDeclaration copy();