Parameterizable

Interface Parameterizable

All Superinterfaces:
AnnotatedConstruct, Element
All Known Subinterfaces:
ExecutableElement, TypeElement
public interface Parameterizable
extends Element

A mixin interface for an element that has type parameters.

Since:
1.7

Methods

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