A type declaration.
Examples (multi-line):
shared interface Printable { shared default void print() { package.print(this); } } shared alias TypeName => UIdentifier;
Anything
TypeDeclaration
Declaration
Node
Object
Anything
Initializer |
TypeDeclaration() |
Attributes | |
name | Source Codeshared formal UIdentifier name The name of the declared type. Refines Declaration.name |
typeConstraints | Source Codeshared formal TypeConstraint[] typeConstraints The type constraints on the type parameters of the declared type. |
typeParameters | Source Codeshared formal TypeParameters? typeParameters The type parameters of the declared type, if present. |
Inherited Attributes |
Attributes inherited from: Declaration |
Attributes inherited from: Node |
Attributes inherited from: Object hash , string |
Inherited Methods |
Methods inherited from: Node |
Methods inherited from: Object equals |