Package com.aparapi.internal.model
Enum ClassModel.Access
- java.lang.Object
-
- java.lang.Enum<ClassModel.Access>
-
- com.aparapi.internal.model.ClassModel.Access
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClassModel.Access>
- Enclosing class:
- ClassModel
public static enum ClassModel.Access extends java.lang.Enum<ClassModel.Access>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
bits
-
Constructor Summary
Constructors Modifier Constructor Description private
Access(int _bits)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
bitIsSet(int _accessFlags)
java.lang.String
convert(int _accessFlags)
static ClassModel.Access
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClassModel.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 ClassModel.Access PUBLIC
-
PRIVATE
public static final ClassModel.Access PRIVATE
-
PROTECTED
public static final ClassModel.Access PROTECTED
-
STATIC
public static final ClassModel.Access STATIC
-
FINAL
public static final ClassModel.Access FINAL
-
ACC_SYNCHRONIZED
public static final ClassModel.Access ACC_SYNCHRONIZED
-
ACC_VOLATILE
public static final ClassModel.Access ACC_VOLATILE
-
BRIDGE
public static final ClassModel.Access BRIDGE
-
TRANSIENT
public static final ClassModel.Access TRANSIENT
-
VARARGS
public static final ClassModel.Access VARARGS
-
NATIVE
public static final ClassModel.Access NATIVE
-
INTERFACE
public static final ClassModel.Access INTERFACE
-
ABSTRACT
public static final ClassModel.Access ABSTRACT
-
SUPER
public static final ClassModel.Access SUPER
-
STRICT
public static final ClassModel.Access STRICT
-
ANNOTATION
public static final ClassModel.Access ANNOTATION
-
ACC_ENUM
public static final ClassModel.Access ACC_ENUM
-
-
Method Detail
-
values
public static ClassModel.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 (ClassModel.Access c : ClassModel.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 ClassModel.Access valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
bitIsSet
public boolean bitIsSet(int _accessFlags)
-
convert
public java.lang.String convert(int _accessFlags)
-
-