Enum Class Priority

java.lang.Object
java.lang.Enum<Priority>
org.jruby.javasupport.binding.Priority
All Implemented Interfaces:
Serializable, Comparable<Priority>, Constable

public enum Priority extends Enum<Priority>
Assigned names only override based priority of an assigned type, the type must be less than or equal to the assigned type. For example, field name (FIELD) in a subclass will override an alias (ALIAS) in a superclass, but not a method (METHOD).
  • Enum Constant Details

    • RESERVED

      public static final Priority RESERVED
    • METHOD

      public static final Priority METHOD
    • FIELD

      public static final Priority FIELD
    • PROTECTED_METHOD

      public static final Priority PROTECTED_METHOD
    • WEAKLY_RESERVED

      public static final Priority WEAKLY_RESERVED
    • ALIAS

      public static final Priority ALIAS
    • GET_ALIAS

      public static final Priority GET_ALIAS
    • IS_ALIAS

      public static final Priority IS_ALIAS
    • PROTECTED_FIELD

      public static final Priority PROTECTED_FIELD
  • Method Details

    • values

      public static Priority[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Priority valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • asImportantAs

      public boolean asImportantAs(AssignedName other)
    • lessImportantThan

      public boolean lessImportantThan(AssignedName other)
    • moreImportantThan

      public boolean moreImportantThan(AssignedName other)