Class NativeInvocationBase

    • Constructor Detail

      • NativeInvocationBase

        public NativeInvocationBase()
    • Method Detail

      • cast

        public static <T> NativeInvocation cast​(NativeInvocation from,
                                                String toClass)
        Casts a the object that is contained in a NativeInvocation to an object of class clazz.
        Type Parameters:
        T - Generically defined return type
        Parameters:
        from - The NativeInvocation to cast.
        toClass - The class that the provided NativeInvocation should be casted to
        Returns:
        A NativeInvocation instance containing the result of the cast.
      • cloneInstance

        public static <T> NativeInvocation cloneInstance​(NativeInvocation from)
        Clones a NativeInvocation
        Type Parameters:
        T - Generically defined return type
        Parameters:
        from - The object to clone.
        Returns:
        a NativeInvocation instance.