Package org.benf.cfr.reader.entities
Enum AccessFlag
- java.lang.Object
-
- java.lang.Enum<AccessFlag>
-
- org.benf.cfr.reader.entities.AccessFlag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AccessFlag>
public enum AccessFlag extends java.lang.Enum<AccessFlag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACC_ABSTRACT
ACC_ANNOTATION
ACC_ENUM
ACC_FINAL
ACC_INTERFACE
ACC_MODULE
ACC_PRIVATE
ACC_PROTECTED
ACC_PUBLIC
ACC_STATIC
ACC_STRICT
ACC_SUPER
ACC_SYNTHETIC
ACC_TRANSIENT
ACC_VOLATILE
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
name
-
Constructor Summary
Constructors Modifier Constructor Description private
AccessFlag(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
applyAttributes(AttributeMap attributeMap, java.util.Set<AccessFlag> accessFlagSet)
static java.util.Set<AccessFlag>
build(int raw)
java.lang.String
toString()
static AccessFlag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AccessFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACC_PUBLIC
public static final AccessFlag ACC_PUBLIC
-
ACC_PRIVATE
public static final AccessFlag ACC_PRIVATE
-
ACC_PROTECTED
public static final AccessFlag ACC_PROTECTED
-
ACC_STATIC
public static final AccessFlag ACC_STATIC
-
ACC_FINAL
public static final AccessFlag ACC_FINAL
-
ACC_SUPER
public static final AccessFlag ACC_SUPER
-
ACC_VOLATILE
public static final AccessFlag ACC_VOLATILE
-
ACC_TRANSIENT
public static final AccessFlag ACC_TRANSIENT
-
ACC_INTERFACE
public static final AccessFlag ACC_INTERFACE
-
ACC_ABSTRACT
public static final AccessFlag ACC_ABSTRACT
-
ACC_STRICT
public static final AccessFlag ACC_STRICT
-
ACC_SYNTHETIC
public static final AccessFlag ACC_SYNTHETIC
-
ACC_ANNOTATION
public static final AccessFlag ACC_ANNOTATION
-
ACC_ENUM
public static final AccessFlag ACC_ENUM
-
ACC_MODULE
public static final AccessFlag ACC_MODULE
-
-
Method Detail
-
values
public static AccessFlag[] 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 (AccessFlag c : AccessFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessFlag 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
-
build
public static java.util.Set<AccessFlag> build(int raw)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<AccessFlag>
-
applyAttributes
public static void applyAttributes(AttributeMap attributeMap, java.util.Set<AccessFlag> accessFlagSet)
-
-