Enum DefiniteAssignmentStatus

    • Enum Constant Detail

      • DEFINITELY_NOT_ASSIGNED

        public static final DefiniteAssignmentStatus DEFINITELY_NOT_ASSIGNED
        The variable is definitely not assigned.
      • POTENTIALLY_ASSIGNED

        public static final DefiniteAssignmentStatus POTENTIALLY_ASSIGNED
        The variable might be assigned or unassigned.
      • DEFINITELY_ASSIGNED

        public static final DefiniteAssignmentStatus DEFINITELY_ASSIGNED
        The variable is definitely assigned.
      • ASSIGNED_AFTER_TRUE_EXPRESSION

        public static final DefiniteAssignmentStatus ASSIGNED_AFTER_TRUE_EXPRESSION
        The variable is definitely assigned iff the expression results in the value true.
      • ASSIGNED_AFTER_FALSE_EXPRESSION

        public static final DefiniteAssignmentStatus ASSIGNED_AFTER_FALSE_EXPRESSION
        The variable is definitely assigned iff the expression results in the value false.
    • Constructor Detail

      • DefiniteAssignmentStatus

        private DefiniteAssignmentStatus()
    • Method Detail

      • values

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

        public static DefiniteAssignmentStatus valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null