Package io.micronaut.sourcegen.javapoet
Class ParameterizedTypeName
java.lang.Object
io.micronaut.sourcegen.javapoet.TypeName
io.micronaut.sourcegen.javapoet.ParameterizedTypeName
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionannotated(List<AnnotationSpec> annotations) static ParameterizedTypeNameReturns a parameterized type, applyingtypeArgumentstorawType.static ParameterizedTypeNameReturns a parameterized type, applyingtypeArgumentstorawType.static ParameterizedTypeNameget(ParameterizedType type) Returns a parameterized type equivalent totype.nestedClass(String name) Returns a newParameterizedTypeNameinstance for the specifiednameas nested inside this class.nestedClass(String name, List<TypeName> typeArguments) Returns a newParameterizedTypeNameinstance for the specifiednameas 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:
withoutAnnotationsin classTypeName
-
nestedClass
Returns a newParameterizedTypeNameinstance for the specifiednameas nested inside this class. -
nestedClass
Returns a newParameterizedTypeNameinstance for the specifiednameas nested inside this class, with the specifiedtypeArguments. -
get
Returns a parameterized type, applyingtypeArgumentstorawType. -
get
Returns a parameterized type, applyingtypeArgumentstorawType. -
get
Returns a parameterized type equivalent totype.
-