Package io.airlift.bytecode
Enum Access
- java.lang.Object
-
- java.lang.Enum<Access>
-
- io.airlift.bytecode.Access
-
- All Implemented Interfaces:
Serializable,Comparable<Access>
public enum Access extends Enum<Access>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnumSet<Access>a(Access... access)intgetModifier()static inttoAccessModifier(Iterable<Access> accesses)StringtoString()static AccessvalueOf(String name)Returns the enum constant of this type with the specified name.static Access[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static Access[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Access c : Access.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Access valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getModifier
public int getModifier()
-
-