Package manifold.ext.rt
Class RuntimeMethods
- java.lang.Object
-
- manifold.ext.rt.RuntimeMethods
-
public class RuntimeMethods extends Object
-
-
Constructor Summary
Constructors Constructor Description RuntimeMethods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Objectcoerce(Object value, Type t)Coerce a value e.g., from a JSON bindings, to a more specific a Java value, usingICoercionProviderwhere applicable.static ObjectcoerceFromBindingsValue(Object value, Type t)static ObjectcoerceToBindingValue(Object arg)static ObjectconstructProxy(Object root, Class iface)static <T> Iterable<T>makeIterable(Iterator<T> iter)static IProxyFactorymaybeSelfProxyClass(Class<?> rootClass, Class<?> iface)static ObjectunFakeProxy(Object proxy)
-
-
-
Method Detail
-
coerce
public static Object coerce(Object value, Type t)
Coerce a value e.g., from a JSON bindings, to a more specific a Java value, usingICoercionProviderwhere applicable. Note, forListthetypecorresponds with the deepest component type of the list, seeListCoercer.
-
maybeSelfProxyClass
public static IProxyFactory maybeSelfProxyClass(Class<?> rootClass, Class<?> iface)
-
-