Enum Class Modifier

java.lang.Object
java.lang.Enum<Modifier>
pascal.taie.language.classes.Modifier
All Implemented Interfaces:
Serializable, Comparable<Modifier>, Constable

public enum Modifier extends Enum<Modifier>
  • Enum Constant Details

    • PUBLIC

      public static final Modifier PUBLIC
    • PRIVATE

      public static final Modifier PRIVATE
    • PROTECTED

      public static final Modifier PROTECTED
    • STATIC

      public static final Modifier STATIC
    • FINAL

      public static final Modifier FINAL
    • SYNCHRONIZED

      public static final Modifier SYNCHRONIZED
    • VOLATILE

      public static final Modifier VOLATILE
    • TRANSIENT

      public static final Modifier TRANSIENT
    • NATIVE

      public static final Modifier NATIVE
    • INTERFACE

      public static final Modifier INTERFACE
    • ABSTRACT

      public static final Modifier ABSTRACT
    • STRICTFP

      public static final Modifier STRICTFP
    • BRIDGE

      public static final Modifier BRIDGE
    • VARARGS

      public static final Modifier VARARGS
    • SYNTHETIC

      public static final Modifier SYNTHETIC
    • ANNOTATION

      public static final Modifier ANNOTATION
    • ENUM

      public static final Modifier ENUM
    • MANDATED

      public static final Modifier MANDATED
  • Method Details

    • values

      public static Modifier[] 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 Modifier 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Modifier>
    • hasPublic

      public static boolean hasPublic(Set<Modifier> modifiers)
    • hasProtected

      public static boolean hasProtected(Set<Modifier> modifiers)
    • hasPrivate

      public static boolean hasPrivate(Set<Modifier> modifiers)
    • hasStatic

      public static boolean hasStatic(Set<Modifier> modifiers)
    • hasFinal

      public static boolean hasFinal(Set<Modifier> modifiers)
    • hasSynchronized

      public static boolean hasSynchronized(Set<Modifier> modifiers)
    • hasVolatile

      public static boolean hasVolatile(Set<Modifier> modifiers)
    • hasTransient

      public static boolean hasTransient(Set<Modifier> modifiers)
    • hasNative

      public static boolean hasNative(Set<Modifier> modifiers)
    • hasInterface

      public static boolean hasInterface(Set<Modifier> modifiers)
    • hasAbstract

      public static boolean hasAbstract(Set<Modifier> modifiers)
    • hasStrictFP

      public static boolean hasStrictFP(Set<Modifier> modifiers)
    • hasSynthetic

      public static boolean hasSynthetic(Set<Modifier> modifiers)
    • hasAnnotation

      public static boolean hasAnnotation(Set<Modifier> modifiers)
    • hasEnum

      public static boolean hasEnum(Set<Modifier> modifiers)