public enum Priority extends java.lang.Enum<Priority>
Enum Constant and Description |
---|
ALIAS |
FIELD |
GET_ALIAS |
IS_ALIAS |
METHOD |
PROTECTED_FIELD |
PROTECTED_METHOD |
RESERVED |
WEAKLY_RESERVED |
Modifier and Type | Method and Description |
---|---|
boolean |
asImportantAs(AssignedName other) |
boolean |
lessImportantThan(AssignedName other) |
boolean |
moreImportantThan(AssignedName other) |
static Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Priority RESERVED
public static final Priority METHOD
public static final Priority FIELD
public static final Priority PROTECTED_METHOD
public static final Priority WEAKLY_RESERVED
public static final Priority ALIAS
public static final Priority GET_ALIAS
public static final Priority IS_ALIAS
public static final Priority PROTECTED_FIELD
public static Priority[] values()
for (Priority c : Priority.values()) System.out.println(c);
public static Priority valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean asImportantAs(AssignedName other)
public boolean lessImportantThan(AssignedName other)
public boolean moreImportantThan(AssignedName other)
Copyright © 2001-2018 JRuby. All Rights Reserved.