| Modifier and Type | Method and Description |
|---|---|
ArrayTypeName |
ArrayTypeName.annotated(java.util.List<AnnotationSpec> annotations) |
static ArrayTypeName |
ArrayTypeName.get(javax.lang.model.type.ArrayType mirror)
Returns an array type equivalent to
mirror. |
static ArrayTypeName |
ArrayTypeName.get(java.lang.reflect.GenericArrayType type)
Returns an array type equivalent to
type. |
static ArrayTypeName |
ArrayTypeName.of(java.lang.reflect.Type componentType)
Returns an array type whose elements are all instances of
componentType. |
static ArrayTypeName |
ArrayTypeName.of(TypeName componentType)
Returns an array type whose elements are all instances of
componentType. |
Copyright © 2020 Square, Inc.. All Rights Reserved.