Enum Class Access

java.lang.Object
java.lang.Enum<Access>
io.airlift.bytecode.Access
All Implemented Interfaces:
Serializable, Comparable<Access>, Constable

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

    • PUBLIC

      public static final Access PUBLIC
    • PRIVATE

      public static final Access PRIVATE
    • PROTECTED

      public static final Access PROTECTED
    • STATIC

      public static final Access STATIC
    • FINAL

      public static final Access FINAL
    • SUPER

      public static final Access SUPER
    • SYNCHRONIZED

      public static final Access SYNCHRONIZED
    • VOLATILE

      public static final Access VOLATILE
    • BRIDGE

      public static final Access BRIDGE
    • VARARGS

      public static final Access VARARGS
    • TRANSIENT

      public static final Access TRANSIENT
    • NATIVE

      public static final Access NATIVE
    • INTERFACE

      public static final Access INTERFACE
    • ABSTRACT

      public static final Access ABSTRACT
    • STRICT

      public static final Access STRICT
    • SYNTHETIC

      public static final Access SYNTHETIC
    • ANNOTATION

      public static final Access ANNOTATION
    • ENUM

      public static final Access ENUM
  • Method Details

    • values

      public static Access[] 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 Access 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
    • getModifier

      public int getModifier()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Access>
    • a

      public static EnumSet<Access> a(Access... access)
    • toAccessModifier

      public static int toAccessModifier(Iterable<Access> accesses)