java.lang.Object
org.microbean.lang.AnnotatedConstruct
org.microbean.lang.element.Element
org.microbean.lang.element.Parameterizable
- All Implemented Interfaces:
AnnotatedConstruct
,Element
,Parameterizable
,Encloseable
,Encloser
- Direct Known Subclasses:
ExecutableElement
,TypeElement
public abstract sealed class Parameterizable
extends Element
implements Parameterizable
permits ExecutableElement, TypeElement
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal <P extends TypeParameterElement & Encloseable>
voidaddTypeParameter
(P tp) final <P extends TypeParameterElement & Encloseable>
voidaddTypeParameters
(Iterable<? extends P> tps) List
<? extends TypeParameterElement> final boolean
static final List
<? extends TypeMirror> Methods inherited from class org.microbean.lang.element.Element
accept, addEnclosedElement, addEnclosedElements, addModifier, addModifiers, asType, canEnclose, getEnclosedElements, getEnclosingElement, getKind, getModifiers, getSimpleName, setEnclosedElementsGenerator, setEnclosingElement, setSimpleName, setSimpleName, setType, toString, validateEnclosedElement, validateKind, validateModifier, validateSimpleName, validateType
Methods inherited from class org.microbean.lang.AnnotatedConstruct
addAnnotationMirror, addAnnotationMirrors, getAnnotation, getAnnotationMirrors, getAnnotationsByType, validateAnnotationMirror
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface javax.lang.model.element.Element
accept, asType, equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getEnclosedElements, getEnclosingElement, getKind, getModifiers, getSimpleName, hashCode
-
Constructor Details
-
Parameterizable
-
-
Method Details
-
getTypeParameters
- Specified by:
getTypeParameters
in interfaceParameterizable
-
addTypeParameter
-
addTypeParameters
public final <P extends TypeParameterElement & Encloseable> void addTypeParameters(Iterable<? extends P> tps) -
isUnnamed
public final boolean isUnnamed() -
typeArguments
-