Package pascal.taie.language.classes
Enum Class Modifier
- All Implemented Interfaces:
Serializable
,Comparable<Modifier>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
hasAbstract
(Set<Modifier> modifiers) static boolean
hasAnnotation
(Set<Modifier> modifiers) static boolean
static boolean
static boolean
hasInterface
(Set<Modifier> modifiers) static boolean
static boolean
hasPrivate
(Set<Modifier> modifiers) static boolean
hasProtected
(Set<Modifier> modifiers) static boolean
static boolean
static boolean
hasStrictFP
(Set<Modifier> modifiers) static boolean
hasSynchronized
(Set<Modifier> modifiers) static boolean
hasSynthetic
(Set<Modifier> modifiers) static boolean
hasTransient
(Set<Modifier> modifiers) static boolean
hasVolatile
(Set<Modifier> modifiers) toString()
static Modifier
Returns the enum constant of this class with the specified name.static Modifier[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PUBLIC
-
PRIVATE
-
PROTECTED
-
STATIC
-
FINAL
-
SYNCHRONIZED
-
VOLATILE
-
TRANSIENT
-
NATIVE
-
INTERFACE
-
ABSTRACT
-
STRICTFP
-
BRIDGE
-
VARARGS
-
SYNTHETIC
-
ANNOTATION
-
ENUM
-
MANDATED
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
toString
-
hasPublic
-
hasProtected
-
hasPrivate
-
hasStatic
-
hasFinal
-
hasSynchronized
-
hasVolatile
-
hasTransient
-
hasNative
-
hasInterface
-
hasAbstract
-
hasStrictFP
-
hasSynthetic
-
hasAnnotation
-
hasEnum
-