| Package | Description | 
|---|---|
| javax.lang.model.element | Interfaces used to model elements of the Java programming language. | 
| javax.lang.model.util | Utilities to assist in the processing of
 program elements and
 types. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<? extends TypeParameterElement> | ExecutableElement. getTypeParameters()Returns the formal type parameters of this executable
 in declaration order. | 
| List<? extends TypeParameterElement> | Parameterizable. getTypeParameters()Returns the formal type parameters of the type element in
 declaration order. | 
| List<? extends TypeParameterElement> | TypeElement. getTypeParameters()Returns the formal type parameters of this type element
 in declaration order. | 
| Modifier and Type | Method and Description | 
|---|---|
| R | ElementVisitor. visitTypeParameter(TypeParameterElement e,
                  P p)Visits a type parameter element. | 
| Modifier and Type | Method and Description | 
|---|---|
| R | ElementKindVisitor6. visitTypeParameter(TypeParameterElement e,
                  P p)Visits a type parameter element. | 
| R | SimpleElementVisitor6. visitTypeParameter(TypeParameterElement e,
                  P p)Visits a type parameter element. | 
| R | ElementScanner6. visitTypeParameter(TypeParameterElement e,
                  P p)Visits a type parameter element. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.