| Constructor and Description |
|---|
Constant(Type type,
Object value)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Data.Kind |
getKind()
Returns the kind of this data.
|
Type |
getType()
Returns the type.
|
Object |
getValue()
Returns the constant value.
|
static Constant |
of(Object value)
Returns an instance which represents the specified value.
|
public static Constant of(Object value)
value - the constant value, or null if the constant represents null valuepublic Data.Kind getKind()
Datapublic Type getType()
public Object getValue()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.