public class ArrayTypeDescription extends ReifiableTypeDescription
TypeDescription.TypeKind
ValueDescription.ValueKind
Constructor and Description |
---|
ArrayTypeDescription(TypeDescription componentType)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TypeDescription |
getComponentType()
Returns the component type.
|
ArrayTypeDescription |
getErasure()
Returns the erasure of this type.
|
TypeDescription.TypeKind |
getTypeKind()
Returns the type kind.
|
int |
hashCode() |
static ArrayTypeDescription |
of(Class<?> arrayType)
Returns an instance.
|
String |
toString() |
getValueKind, getValueType
public ArrayTypeDescription(TypeDescription componentType)
componentType
- the component typepublic static ArrayTypeDescription of(Class<?> arrayType)
arrayType
- the reflective objectpublic TypeDescription.TypeKind getTypeKind()
TypeDescription
public ArrayTypeDescription getErasure()
TypeDescription
public TypeDescription getComponentType()
Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.