typeVariables property

List<TypeVariableMirror> 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.

Implementation

List<TypeVariableMirror> get typeVariables;