< prev index next >

src/java.compiler/share/classes/javax/lang/model/type/TypeVariable.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.lang.model.type;
  27 
  28 
  29 import javax.lang.model.element.Element;
  30 import javax.lang.model.element.TypeParameterElement;
  31 import javax.lang.model.util.Types;
  32 
  33 
  34 /**
  35  * Represents a type variable.
  36  * A type variable may be explicitly declared by a
  37  * {@linkplain TypeParameterElement type parameter} of a
  38  * type, method, or constructor.
  39  * A type variable may also be declared implicitly, as by
  40  * the capture conversion of a wildcard type argument
  41  * (see chapter {@jls 5} of
  42  * <cite>The Java&trade; Language Specification</cite>).
  43  *
  44  * @author Joseph D. Darcy
  45  * @author Scott Seligman
  46  * @author Peter von der Ah&eacute;
  47  * @see TypeParameterElement
  48  * @jls 4.4 Type Variables
  49  * @since 1.6
  50  */
  51 public interface TypeVariable extends ReferenceType {
  52 
  53     /**
  54      * Returns the element corresponding to this type variable.
  55      *
  56      * @return the element corresponding to this type variable
  57      */
  58     Element asElement();
  59 
  60     /**
  61      * Returns the upper bound of this type variable.
  62      *




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.lang.model.type;
  27 
  28 
  29 import javax.lang.model.element.Element;
  30 import javax.lang.model.element.TypeParameterElement;
  31 import javax.lang.model.util.Types;
  32 
  33 
  34 /**
  35  * Represents a type variable.
  36  * A type variable may be explicitly declared by a
  37  * {@linkplain TypeParameterElement type parameter} of a
  38  * type, method, or constructor.
  39  * A type variable may also be declared implicitly, as by
  40  * the capture conversion of a wildcard type argument
  41  * (see chapter {@jls 5} of
  42  * <cite>The Java Language Specification</cite>).
  43  *
  44  * @author Joseph D. Darcy
  45  * @author Scott Seligman
  46  * @author Peter von der Ah&eacute;
  47  * @see TypeParameterElement
  48  * @jls 4.4 Type Variables
  49  * @since 1.6
  50  */
  51 public interface TypeVariable extends ReferenceType {
  52 
  53     /**
  54      * Returns the element corresponding to this type variable.
  55      *
  56      * @return the element corresponding to this type variable
  57      */
  58     Element asElement();
  59 
  60     /**
  61      * Returns the upper bound of this type variable.
  62      *


< prev index next >