Class RuntimeMethods


  • public class RuntimeMethods
    extends Object
    • Constructor Detail

      • RuntimeMethods

        public RuntimeMethods()
    • Method Detail

      • constructProxy

        public static Object constructProxy​(Object root,
                                            Class iface)
      • coerceFromBindingsValue

        public static Object coerceFromBindingsValue​(Object value,
                                                     Type t)
      • 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, using ICoercionProvider where applicable. Note, for List the type corresponds with the deepest component type of the list, see ListCoercer.
      • coerceToBindingValue

        public static Object coerceToBindingValue​(Object arg)
      • unFakeProxy

        public static Object unFakeProxy​(Object proxy)
      • makeIterable

        public static <T> Iterable<T> makeIterable​(Iterator<T> iter)