public class Access
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static short |
ABSTRACT |
static short |
ANNOTATION |
static short |
BRIDGE |
static char |
CLASS_CONTEXT
Value for
toString 's kind parameter when decoding
a class's access flags. |
static short |
CLASS_MODIFIERS
Mask of access flags valid for a class.
|
static short |
ENUM |
static char |
FIELD_CONTEXT
Value for
toString 's kind parameter when decoding
a field's access flags. |
static short |
FIELD_MODIFIERS
Mask of access flags valid for a field.
|
static short |
FINAL |
static char |
INNERCLASS_CONTEXT
Value for
toString 's kind parameter when decoding
access flags in InnerClasses attribute. |
static short |
INNERCLASS_MODIFIERS
Mask of access flags valid in an
InnerClasses attribute. |
static short |
INTERFACE |
static char |
METHOD_CONTEXT
Value for
toString 's kind parameter when decoding
a methods's access flags. |
static short |
METHOD_MODIFIERS
Mask of access flags valid for a method.
|
static short |
NATIVE |
static short |
PRIVATE |
static short |
PROTECTED |
static short |
PUBLIC |
static short |
STATIC |
static short |
STRICT |
static short |
SUPER |
static short |
SYNCHRONIZED |
static short |
SYNTHETIC |
static short |
TRANSIENT |
static short |
VARARGS |
static short |
VOLATILE |
Constructor and Description |
---|
Access() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
toString(int flags) |
static java.lang.String |
toString(int flags,
char kind)
Return a string naming the access bits in flags.
|
public static final short PUBLIC
public static final short PRIVATE
public static final short PROTECTED
public static final short STATIC
public static final short FINAL
public static final short SUPER
public static final short SYNCHRONIZED
public static final short VOLATILE
public static final short BRIDGE
public static final short TRANSIENT
public static final short VARARGS
public static final short NATIVE
public static final short INTERFACE
public static final short ABSTRACT
public static final short STRICT
public static final short SYNTHETIC
public static final short ANNOTATION
public static final short ENUM
public static final char CLASS_CONTEXT
toString
's kind
parameter when decoding
a class's access flags.public static final char INNERCLASS_CONTEXT
toString
's kind
parameter when decoding
access flags in InnerClasses
attribute.public static final char FIELD_CONTEXT
toString
's kind
parameter when decoding
a field's access flags.public static final char METHOD_CONTEXT
toString
's kind
parameter when decoding
a methods's access flags.public static final short CLASS_MODIFIERS
public static final short INNERCLASS_MODIFIERS
InnerClasses
attribute.public static final short FIELD_MODIFIERS
public static final short METHOD_MODIFIERS
public static java.lang.String toString(int flags)
public static java.lang.String toString(int flags, char kind)
kind
- CLASS_CONTEXT
for a class,
METHOD_CONTEXT
for a method,
FIELD_CONTEXT
for a field,
INNERCLASS_CONTEXT
in an InnerClasses
attribute.