Enum SimValue.NullState

    • Enum Constant Detail

      • DEFINITELY_NULL

        public static final SimValue.NullState DEFINITELY_NULL
        The value is null on every path reaching this point, as for a simulated null constant.
      • DEFINITELY_NOT_NULL

        public static final SimValue.NullState DEFINITELY_NOT_NULL
        The value is non-null on every path, as for a fresh allocation.
      • MAYBE_NULL

        public static final SimValue.NullState MAYBE_NULL
        Nullness is unknown; also the result of merging two values whose states disagree, and the default for a value with no null information.
    • Method Detail

      • values

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

        public static SimValue.NullState 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