typeParameter abstract method
TypeParameter
typeParameter(
- Comment? comment,
- List<
Annotation> ? metadata, - SimpleIdentifier name,
- Token? extendsKeyword,
- TypeAnnotation? bound,
Returns a newly created type parameter. Either or both of the comment
and metadata
can be null
if the parameter does not have the
corresponding attribute. The extendsKeyword
and bound
can be null
if
the parameter does not have an upper bound.
Implementation
TypeParameter typeParameter(Comment? comment, List<Annotation>? metadata,
SimpleIdentifier name, Token? extendsKeyword, TypeAnnotation? bound);