Package io.micronaut.sourcegen.javapoet
Class TypeVariableName
java.lang.Object
io.micronaut.sourcegen.javapoet.TypeName
io.micronaut.sourcegen.javapoet.TypeVariableName
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionannotated(List<AnnotationSpec> annotations) static TypeVariableNameget(TypeVariable<?> type) Returns type variable equivalent totype.static TypeVariableNameReturns type variable namednamewithout bounds.static TypeVariableNameReturns type variable namednamewithbounds.static TypeVariableNameReturns type variable namednamewithbounds.static TypeVariableNameget(TypeParameterElement element) Returns type variable equivalent toelement.static TypeVariableNameget(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:
withoutAnnotationsin classTypeName
-
withBounds
-
withBounds
-
withBounds
-
get
Returns type variable namednamewithout bounds. -
get
Returns type variable namednamewithbounds. -
get
Returns type variable namednamewithbounds. -
get
Returns type variable equivalent tomirror. -
get
Returns type variable equivalent toelement. -
get
Returns type variable equivalent totype.
-