public class ArrayDescription extends Object implements ValueDescription
ValueDescription.ValueKind| Constructor and Description |
|---|
ArrayDescription(ArrayTypeDescription arrayType,
List<? extends ValueDescription> elements)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayDescription |
elementsOf(ReifiableTypeDescription elementType,
List<? extends ValueDescription> elements)
Creates a new instance.
|
static ArrayDescription |
elementsOf(ReifiableTypeDescription elementType,
ValueDescription... elements)
Creates a new instance.
|
boolean |
equals(Object obj) |
List<ValueDescription> |
getElements()
Returns the array elements.
|
ValueDescription.ValueKind |
getValueKind()
Returns the value kind.
|
ArrayTypeDescription |
getValueType()
Returns the value type.
|
int |
hashCode() |
static ArrayDescription |
of(Object array)
Creates a new instance.
|
String |
toString() |
public ArrayDescription(ArrayTypeDescription arrayType, List<? extends ValueDescription> elements)
arrayType - the array typeelements - the array elementspublic static ArrayDescription elementsOf(ReifiableTypeDescription elementType, List<? extends ValueDescription> elements)
elementType - the element typeelements - the array elementspublic static ArrayDescription elementsOf(ReifiableTypeDescription elementType, ValueDescription... elements)
elementType - the element typeelements - the array elementspublic static ArrayDescription of(Object array)
array - the array objectpublic ValueDescription.ValueKind getValueKind()
ValueDescriptiongetValueKind in interface ValueDescriptionpublic ArrayTypeDescription getValueType()
ValueDescriptiongetValueType in interface ValueDescriptionpublic List<ValueDescription> getElements()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.