public class RuntimeMethods
extends java.lang.Object
| Constructor and Description |
|---|
RuntimeMethods() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
coerce(java.lang.Object value,
java.lang.Class<?> type)
Coerce a value e.g., from a JSON bindings, to a more specific a Java value, using
ICoercionProvider
where applicable. |
static java.lang.Object |
coerceToBindingValue(java.lang.Object arg) |
static java.lang.Object |
constructProxy(java.lang.Object root,
java.lang.Class iface) |
static IProxyFactory |
maybeSelfProxyClass(java.lang.Class<?> rootClass,
java.lang.Class<?> iface) |
public static java.lang.Object constructProxy(java.lang.Object root,
java.lang.Class iface)
public static java.lang.Object coerce(java.lang.Object value,
java.lang.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(java.lang.Class<?> rootClass, java.lang.Class<?> iface)
public static java.lang.Object coerceToBindingValue(java.lang.Object arg)
Copyright © 2021. All rights reserved.