Package io.micronaut.sourcegen.javapoet
Class ParameterizedTypeName
java.lang.Object
io.micronaut.sourcegen.javapoet.TypeName
io.micronaut.sourcegen.javapoet.ParameterizedTypeName
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionannotated
(List<AnnotationSpec> annotations) static ParameterizedTypeName
Returns a parameterized type, applyingtypeArguments
torawType
.static ParameterizedTypeName
Returns a parameterized type, applyingtypeArguments
torawType
.static ParameterizedTypeName
get
(ParameterizedType type) Returns a parameterized type equivalent totype
.nestedClass
(String name) Returns a newParameterizedTypeName
instance for the specifiedname
as nested inside this class.nestedClass
(String name, List<TypeName> typeArguments) Returns a newParameterizedTypeName
instance for the specifiedname
as nested inside this class, with the specifiedtypeArguments
.Methods inherited from class io.micronaut.sourcegen.javapoet.TypeName
annotated, box, concatAnnotations, equals, get, get, hashCode, isAnnotated, isBoxedPrimitive, isPrimitive, toString, unbox
-
Field Details
-
rawType
-
typeArguments
-
-
Method Details
-
annotated
-
withoutAnnotations
- Overrides:
withoutAnnotations
in classTypeName
-
nestedClass
Returns a newParameterizedTypeName
instance for the specifiedname
as nested inside this class. -
nestedClass
Returns a newParameterizedTypeName
instance for the specifiedname
as nested inside this class, with the specifiedtypeArguments
. -
get
Returns a parameterized type, applyingtypeArguments
torawType
. -
get
Returns a parameterized type, applyingtypeArguments
torawType
. -
get
Returns a parameterized type equivalent totype
.
-