Package io.micronaut.sourcegen.javapoet
Class TypeVariableName
java.lang.Object
io.micronaut.sourcegen.javapoet.TypeName
io.micronaut.sourcegen.javapoet.TypeVariableName
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionannotated
(List<AnnotationSpec> annotations) static TypeVariableName
get
(TypeVariable<?> type) Returns type variable equivalent totype
.static TypeVariableName
Returns type variable namedname
without bounds.static TypeVariableName
Returns type variable namedname
withbounds
.static TypeVariableName
Returns type variable namedname
withbounds
.static TypeVariableName
get
(TypeParameterElement element) Returns type variable equivalent toelement
.static TypeVariableName
get
(TypeVariable mirror) Returns type variable equivalent tomirror
.withBounds
(TypeName... bounds) withBounds
(Type... bounds) withBounds
(List<? extends TypeName> bounds) Methods inherited from class io.micronaut.sourcegen.javapoet.TypeName
annotated, box, concatAnnotations, equals, get, get, hashCode, isAnnotated, isBoxedPrimitive, isPrimitive, toString, unbox
-
Field Details
-
name
-
bounds
-
-
Method Details
-
annotated
-
withoutAnnotations
- Overrides:
withoutAnnotations
in classTypeName
-
withBounds
-
withBounds
-
withBounds
-
get
Returns type variable namedname
without bounds. -
get
Returns type variable namedname
withbounds
. -
get
Returns type variable namedname
withbounds
. -
get
Returns type variable equivalent tomirror
. -
get
Returns type variable equivalent toelement
. -
get
Returns type variable equivalent totype
.
-