Uses of Class
com.squareup.javapoet.ArrayTypeName
-
Uses of ArrayTypeName in com.squareup.javapoet
Methods in com.squareup.javapoet that return ArrayTypeNameModifier and TypeMethodDescriptionArrayTypeName.annotated
(List<AnnotationSpec> annotations) (package private) static ArrayTypeName
Returnstype
as an array, or null iftype
is not an array.static ArrayTypeName
ArrayTypeName.get
(GenericArrayType type) Returns an array type equivalent totype
.(package private) static ArrayTypeName
ArrayTypeName.get
(GenericArrayType type, Map<Type, TypeVariableName> map) static ArrayTypeName
Returns an array type equivalent tomirror
.(package private) static ArrayTypeName
ArrayTypeName.get
(ArrayType mirror, Map<TypeParameterElement, TypeVariableName> typeVariables) static ArrayTypeName
Returns an array type whose elements are all instances ofcomponentType
.static ArrayTypeName
Returns an array type whose elements are all instances ofcomponentType
.