| Modifier and Type | Method | Description |
|---|---|---|
ArrayTypeName |
ArrayTypeName.annotated(List<AnnotationSpec> annotations) |
|
static ArrayTypeName |
ArrayTypeName.get(GenericArrayType type) |
Returns an array type equivalent to
type. |
static ArrayTypeName |
ArrayTypeName.get(ArrayType mirror) |
Returns an array type equivalent to
mirror. |
static ArrayTypeName |
ArrayTypeName.of(TypeName componentType) |
Returns an array type whose elements are all instances of
componentType. |
static ArrayTypeName |
ArrayTypeName.of(Type componentType) |
Returns an array type whose elements are all instances of
componentType. |
Copyright © 2019 Square, Inc.. All rights reserved.