mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +02:00
Cosmetics.
This commit is contained in:
parent
e667b2631c
commit
f1bcff300c
2 changed files with 8 additions and 10 deletions
|
@ -21,8 +21,9 @@ public interface ICPPTemplateDefinition extends ICPPBinding {
|
||||||
/**
|
/**
|
||||||
* Returns an array of the template parameters.
|
* Returns an array of the template parameters.
|
||||||
* In the case of a specialization, the array will be empty,
|
* In the case of a specialization, the array will be empty,
|
||||||
* a partial specialization will have the specialized parameter list
|
* a partial specialization will have the specialized parameter list.
|
||||||
* @return array of ICPPTemplateParameter
|
*
|
||||||
|
* @return an array of template parameters
|
||||||
*/
|
*/
|
||||||
public ICPPTemplateParameter[] getTemplateParameters();
|
public ICPPTemplateParameter[] getTemplateParameters();
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,26 +14,23 @@ import org.eclipse.cdt.core.dom.ast.DOMException;
|
||||||
import org.eclipse.cdt.core.dom.ast.IType;
|
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.
|
* @noextend This interface is not intended to be extended by clients.
|
||||||
* @noimplement This interface is not intended to be implemented by clients.
|
* @noimplement This interface is not intended to be implemented by clients.
|
||||||
*/
|
*/
|
||||||
public interface ICPPTemplateTemplateParameter extends ICPPTemplateParameter, ICPPClassTemplate {
|
public interface ICPPTemplateTemplateParameter extends ICPPTemplateParameter, ICPPClassTemplate {
|
||||||
@Override
|
|
||||||
public ICPPTemplateParameter[] getTemplateParameters();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the default value for this parameter, or <code>null</code>.
|
* Returns the default value for this parameter, or {@code null}.
|
||||||
*/
|
*/
|
||||||
public IType getDefault() throws DOMException;
|
public IType getDefault() throws DOMException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Types containing template parameters need to be compared even before it is known to which
|
* 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
|
* 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
|
* kind and the parameter position of the template parameter, only. The name and the owner
|
||||||
* is ignored.
|
* is ignored.
|
||||||
*
|
*
|
||||||
* @since 5.1
|
* @since 5.1
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue