Enum VariableMode

    • Enum Constant Detail

      • EXCEPTION_ON_NOT_FOUND

        public static final VariableMode EXCEPTION_ON_NOT_FOUND
        An exception is thrown if the evaluation encounters a variable unknown in the current stackframe
      • RETURN_DEFAULT_ON_NOT_FOUND

        public static final VariableMode RETURN_DEFAULT_ON_NOT_FOUND
        A default value is returned for variables which do not exist in the stackframe. It is 0 for numeric types and "" for enum types. Useful for determining bytesizes of the stack contents in cases where not for all variables characterisations exist
      • RETURN_NULL_ON_NOT_FOUND

        public static final VariableMode RETURN_NULL_ON_NOT_FOUND
        NULL is returned for variables which do not exist in the stackframe. Useful for copying stackframes
    • Method Detail

      • values

        public static VariableMode[] 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 (VariableMode c : VariableMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VariableMode 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