typeVariables property
List<TypeVariableMirror>
get
typeVariables
An immutable list with mirrors for all type variables for this type.
If this type is a generic declaration or an invocation of a generic declaration, the returned list contains mirrors on the type variables declared in the original declaration. Otherwise, the returned list is empty.
This list preserves the order of declaration of the type variables.
Required capabilities: typeVariables requires a DeclarationsCapability.
Implementation
List<TypeVariableMirror> get typeVariables;