Interface TypeVariable

All Superinterfaces:
ReferenceType, TypeMirror

public interface TypeVariable extends ReferenceType
Represents a type variable. A type variable is declared by a type parameter of a type, method, or constructor.
Since:
1.5
Version:
1.1 04/01/26
Author:
Joe Darcy, Scott Seligman
  • Method Details

    • getDeclaration

      TypeParameterDeclaration getDeclaration()
      Returns the type parameter that declared this type variable.
      Returns:
      the type parameter that declared this type variable