reflectType abstract method

TypeMirror reflectType(
  1. Type type
)

Returns a mirror of the given type type.

In the case where type is a parameterized type, i.e., a generic class which has been applied to a list of actual type arguments, the returned mirror will have no declared type variables, but it has a list of actual type arguments. If a mirror of the generic class as such is needed, it can be obtained from originalDeclaration. That mirror will have no actual type arguments, but it will have declared type variables. Other types than classes are not (yet) supported.

Implementation

TypeMirror reflectType(Type type);