This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.lang.model.element
interface TypeParameterElement

All Superinterfaces:
Element

public interface TypeParameterElement
extends Element

Represents a formal type parameter of a generic class, interface, method, or constructor element. A type parameter declares a {@link TypeVariable}.


Method Summary
 List

          Returns the bounds of this type parameter.
 Element

          Returns the generic class, interface, method, or constructor that is parameterized by this type parameter.
 
Methods inherited from class javax.lang.model.element.Element
accept, asType, equals, getAnnotation, getAnnotationMirrors, getEnclosedElements, getEnclosingElement, getKind, getModifiers, getSimpleName, hashCode
 

Method Detail

getBounds

public List getBounds()
Returns the bounds of this type parameter. These are the types given by the {@code extends} clause used to declare this type parameter. If no explicit {@code extends} clause was used, then {@code java.lang.Object} is considered to be the sole bound.

Returns:
the bounds of this type parameter, or an empty list if there are none

getGenericElement

public Element getGenericElement()
Returns the generic class, interface, method, or constructor that is parameterized by this type parameter.

Returns:
the generic class, interface, method, or constructor that is parameterized by this type parameter


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.