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 8 package com.sun.mirror.type; 9 10 11 import com.sun.mirror.declaration.*; 12 13 14 /** 15 * Represents a type variable. 16 * A type variable is declared by a 17 * {@linkplain TypeParameterDeclaration type parameter} of a 18 * type, method, or constructor. 19 * 20 * @author Joe Darcy 21 * @author Scott Seligman 22 * @version 1.1 04/01/26 23 * @since 1.5 24 */ 25 26 public interface TypeVariable extends ReferenceType { 27 28 /** 29 * Returns the type parameter that declared this type variable. 30 * 31 * @return the type parameter that declared this type variable 32 */ 33 TypeParameterDeclaration getDeclaration(); 34 } 35