Package io.micronaut.sourcegen.javapoet
Class ArrayTypeName
java.lang.Object
io.micronaut.sourcegen.javapoet.TypeName
io.micronaut.sourcegen.javapoet.ArrayTypeName
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionannotated
(List<AnnotationSpec> annotations) static ArrayTypeName
get
(GenericArrayType type) Returns an array type equivalent totype
.static ArrayTypeName
Returns an array type equivalent tomirror
.static ArrayTypeName
Returns an array type whose elements are all instances ofcomponentType
.static ArrayTypeName
Returns an array type whose elements are all instances ofcomponentType
.Methods inherited from class io.micronaut.sourcegen.javapoet.TypeName
annotated, box, concatAnnotations, equals, get, get, hashCode, isAnnotated, isBoxedPrimitive, isPrimitive, toString, unbox
-
Field Details
-
componentType
-
-
Method Details
-
annotated
-
withoutAnnotations
- Overrides:
withoutAnnotations
in classTypeName
-
of
Returns an array type whose elements are all instances ofcomponentType
. -
of
Returns an array type whose elements are all instances ofcomponentType
. -
get
Returns an array type equivalent tomirror
. -
get
Returns an array type equivalent totype
.
-