thisType property

InterfaceType get thisType

Return the type of this expression for this element.

For a class like class MyClass<T, U> {} the returned type is equivalent to the type MyClass<T, U>. So, the type arguments are the types of the type parameters, and either none or star is used for the nullability suffix is used, depending on the nullability status of the declaring library.

Implementation

InterfaceType get thisType;