1. /*
  2. * @(#)TypeVariable.java 1.1 04/01/26
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.mirror.type;
  8. import com.sun.mirror.declaration.*;
  9. /**
  10. * Represents a type variable.
  11. * A type variable is declared by a
  12. * {@linkplain TypeParameterDeclaration type parameter} of a
  13. * type, method, or constructor.
  14. *
  15. * @author Joe Darcy
  16. * @author Scott Seligman
  17. * @version 1.1 04/01/26
  18. * @since 1.5
  19. */
  20. public interface TypeVariable extends ReferenceType {
  21. /**
  22. * Returns the type parameter that declared this type variable.
  23. *
  24. * @return the type parameter that declared this type variable
  25. */
  26. TypeParameterDeclaration getDeclaration();
  27. }