Enum InvocationResult.Status

    • Enum Constant Detail

      • COMPLETED

        public static final InvocationResult.Status COMPLETED
        The call finished normally; the return value is present unless the callee was void.
      • PUSH_FRAME

        public static final InvocationResult.Status PUSH_FRAME
        The callee must be interpreted, so the result carries the frame to push and run.
      • DELEGATED

        public static final InvocationResult.Status DELEGATED
        An external executor took the call over, so this result carries no value or frame.
      • NATIVE_HANDLED

        public static final InvocationResult.Status NATIVE_HANDLED
        A native handler stood in for the callee, supplying the return value without bytecode.
      • EXCEPTION

        public static final InvocationResult.Status EXCEPTION
        The call raised a guest exception, which is carried instead of a return value.
    • Method Detail

      • values

        public static InvocationResult.Status[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (InvocationResult.Status c : InvocationResult.Status.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InvocationResult.Status valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null