public class RuntimeMethods extends Object
| Constructor and Description |
|---|
RuntimeMethods() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
coerce(Object value,
Class<?> type)
Coerce a value e.g., from a JSON bindings, to a more specific a Java value, using
ICoercionProvider
where applicable. |
static Object |
coerceToBindingValue(Object arg) |
static Object |
constructProxy(Object root,
Class iface) |
static IProxyFactory |
maybeSelfProxyClass(Class<?> rootClass,
Class<?> iface) |
public static Object coerce(Object value, Class<?> type)
ICoercionProvider
where applicable. Note, for List the type corresponds with the deepest component type of the list,
see ListCoercer.public static IProxyFactory maybeSelfProxyClass(Class<?> rootClass, Class<?> iface)
Copyright © 2021. All rights reserved.