public final class Descriptions extends Object
Description
.Modifier and Type | Method and Description |
---|---|
static ClassDescription |
classOf(Class<?> aClass)
Converts a class object into related
ClassDescription . |
static ReifiableTypeDescription |
typeOf(Class<?> aClass)
Converts a class object into related
ReifiableTypeDescription . |
static ValueDescription |
valueOf(Object value)
Converts an object into related
ValueDescription . |
public static ValueDescription valueOf(Object value)
ValueDescription
.value
- the original valueValueDescription
public static ReifiableTypeDescription typeOf(Class<?> aClass)
ReifiableTypeDescription
.aClass
- the reflective objectReifiableTypeDescription.of(Class)
public static ClassDescription classOf(Class<?> aClass)
ClassDescription
.aClass
- the reflective object (must be class or interface type)ClassDescription.of(Class)
,
typeOf(Class)
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.