diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPTemplateDefinition.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPTemplateDefinition.java index 36f4f330fb7..4126f5dec2a 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPTemplateDefinition.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPTemplateDefinition.java @@ -21,8 +21,9 @@ public interface ICPPTemplateDefinition extends ICPPBinding { /** * Returns an array of the template parameters. * In the case of a specialization, the array will be empty, - * a partial specialization will have the specialized parameter list - * @return array of ICPPTemplateParameter + * a partial specialization will have the specialized parameter list. + * + * @return an array of template parameters */ public ICPPTemplateParameter[] getTemplateParameters(); } diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPTemplateTemplateParameter.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPTemplateTemplateParameter.java index c993e37327f..6d134bee0dc 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPTemplateTemplateParameter.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPTemplateTemplateParameter.java @@ -14,26 +14,23 @@ import org.eclipse.cdt.core.dom.ast.DOMException; import org.eclipse.cdt.core.dom.ast.IType; /** - * Template parameters of type template - * + * Template parameters of type template. + * * @noextend This interface is not intended to be extended by clients. * @noimplement This interface is not intended to be implemented by clients. */ public interface ICPPTemplateTemplateParameter extends ICPPTemplateParameter, ICPPClassTemplate { - @Override - public ICPPTemplateParameter[] getTemplateParameters(); - /** - * Return the default value for this parameter, or null. + * Returns the default value for this parameter, or {@code null}. */ public IType getDefault() throws DOMException; - + /** * Types containing template parameters need to be compared even before it is known to which * binding the template parameter belongs to. Therefore {@link #isSameType(IType)} compares the * kind and the parameter position of the template parameter, only. The name and the owner * is ignored. - * + * * @since 5.1 */ @Override