FileDocCategorySizeDatePackage
TypeParameterElement.javaAPI DocJava SE 6 API1446Tue Jun 10 00:26:10 BST 2008javax.lang.model.element

TypeParameterElement

public interface TypeParameterElement implements Element
Represents a formal type parameter of a generic class, interface, method, or constructor element. A type parameter declares a {@link TypeVariable}.
author
Joseph D. Darcy
author
Scott Seligman
author
Peter von der Ahé
version
1.5 06/08/02
see
TypeVariable
since
1.6

Fields Summary
Constructors Summary
Methods Summary
public java.util.ListgetBounds()
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.

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

public javax.lang.model.element.ElementgetGenericElement()
Returns the generic class, interface, method, or constructor that is parameterized by this type parameter.

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