Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b89

javax.lang.model.element
Interface Parameterizable

All Superinterfaces:
Element
All Known Subinterfaces:
ExecutableElement, TypeElement

public interface Parameterizable
extends Element

A mixin interface for an element that has type parameters.

Since:
1.7

Method Summary
Modifier and Type Method and Description
 List<? extends TypeParameterElement> getTypeParameters()
          Returns the formal type parameters of the type element in declaration order.
 
Methods inherited from interface javax.lang.model.element.Element
accept, asType, equals, getAnnotation, getAnnotationMirrors, getEnclosedElements, getEnclosingElement, getKind, getModifiers, getSimpleName, hashCode
 

Method Detail

getTypeParameters

List<? extends TypeParameterElement> getTypeParameters()
Returns the formal type parameters of the type element in declaration order.

Returns:
the formal type parameters, or an empty list if there are none

Java™ Platform
Standard Ed. 7

DRAFT ea-b89

Submit a bug or feature

Copyright 2010 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.