public final class ArrayTypeName extends TypeName
| Modifier and Type | Field and Description |
|---|---|
TypeName |
componentType |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static ArrayTypeName |
get(ArrayType mirror)
Returns an array type equivalent to
mirror. |
static ArrayTypeName |
get(GenericArrayType type)
Returns an array type equivalent to
type. |
int |
hashCode() |
static ArrayTypeName |
of(Type componentType)
Returns an array type whose elements are all instances of
componentType. |
static ArrayTypeName |
of(TypeName componentType)
Returns an array type whose elements are all instances of
componentType. |
get, get, isPrimitive, toStringpublic final TypeName componentType
public static ArrayTypeName of(TypeName componentType)
componentType.public static ArrayTypeName of(Type componentType)
componentType.public static ArrayTypeName get(ArrayType mirror)
mirror.public static ArrayTypeName get(GenericArrayType type)
type.Copyright © 2015 Square, Inc.. All Rights Reserved.