public class UnknownValueDescription extends Object implements ValueDescription
ValueDescription.ValueKind
Constructor and Description |
---|
UnknownValueDescription(TypeDescription valueType,
String label)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Returns the label for this description.
|
ValueDescription.ValueKind |
getValueKind()
Returns the value kind.
|
TypeDescription |
getValueType()
Returns the value type.
|
static UnknownValueDescription |
of(Object value)
Creates a new instance.
|
String |
toString() |
public UnknownValueDescription(TypeDescription valueType, String label)
valueType
- the original value typelabel
- a value labelpublic static UnknownValueDescription of(Object value)
value
- the valuepublic ValueDescription.ValueKind getValueKind()
ValueDescription
getValueKind
in interface ValueDescription
public TypeDescription getValueType()
ValueDescription
getValueType
in interface ValueDescription
public String getLabel()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.