typeArguments property

List<TypeMirror> typeArguments

An immutable list with mirrors for all type arguments for this type.

If the reflectee is an invocation of a generic class, the type arguments are the bindings of its type parameters. If the reflectee is the original declaration of a generic, it has no type arguments and this method returns an empty list. If the reflectee is not generic, then it has no type arguments and this method returns an empty list.

This list preserves the order of declaration of the type variables.

Implementation

List<TypeMirror> get typeArguments;