mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +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.
|
||||
* 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();
|
||||
}
|
||||
|
|
|
@ -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 <code>null</code>.
|
||||
* 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
|
||||
|
|
Loading…
Add table
Reference in a new issue