Package gnu.bytecode
Class Access
- java.lang.Object
-
- gnu.bytecode.Access
-
public class Access extends Object
Access flags.
-
-
Field Summary
Fields Modifier and Type Field Description static short
ABSTRACT
static short
ANNOTATION
static short
BRIDGE
static char
CLASS_CONTEXT
Value fortoString
'skind
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 fortoString
'skind
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 fortoString
'skind
parameter when decoding access flags inInnerClasses
attribute.static short
INNERCLASS_MODIFIERS
Mask of access flags valid in anInnerClasses
attribute.static short
INTERFACE
static char
METHOD_CONTEXT
Value fortoString
'skind
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 Summary
Constructors Constructor Description Access()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
toString(int flags)
static String
toString(int flags, char kind)
Return a string naming the access bits in flags.
-
-
-
Field Detail
-
PUBLIC
public static final short PUBLIC
- See Also:
- Constant Field Values
-
PRIVATE
public static final short PRIVATE
- See Also:
- Constant Field Values
-
PROTECTED
public static final short PROTECTED
- See Also:
- Constant Field Values
-
STATIC
public static final short STATIC
- See Also:
- Constant Field Values
-
FINAL
public static final short FINAL
- See Also:
- Constant Field Values
-
SUPER
public static final short SUPER
- See Also:
- Constant Field Values
-
SYNCHRONIZED
public static final short SYNCHRONIZED
- See Also:
- Constant Field Values
-
VOLATILE
public static final short VOLATILE
- See Also:
- Constant Field Values
-
BRIDGE
public static final short BRIDGE
- See Also:
- Constant Field Values
-
TRANSIENT
public static final short TRANSIENT
- See Also:
- Constant Field Values
-
VARARGS
public static final short VARARGS
- See Also:
- Constant Field Values
-
NATIVE
public static final short NATIVE
- See Also:
- Constant Field Values
-
INTERFACE
public static final short INTERFACE
- See Also:
- Constant Field Values
-
ABSTRACT
public static final short ABSTRACT
- See Also:
- Constant Field Values
-
STRICT
public static final short STRICT
- See Also:
- Constant Field Values
-
SYNTHETIC
public static final short SYNTHETIC
- See Also:
- Constant Field Values
-
ANNOTATION
public static final short ANNOTATION
- See Also:
- Constant Field Values
-
ENUM
public static final short ENUM
- See Also:
- Constant Field Values
-
CLASS_CONTEXT
public static final char CLASS_CONTEXT
Value fortoString
'skind
parameter when decoding a class's access flags.- See Also:
- Constant Field Values
-
INNERCLASS_CONTEXT
public static final char INNERCLASS_CONTEXT
Value fortoString
'skind
parameter when decoding access flags inInnerClasses
attribute.- See Also:
- Constant Field Values
-
FIELD_CONTEXT
public static final char FIELD_CONTEXT
Value fortoString
'skind
parameter when decoding a field's access flags.- See Also:
- Constant Field Values
-
METHOD_CONTEXT
public static final char METHOD_CONTEXT
Value fortoString
'skind
parameter when decoding a methods's access flags.- See Also:
- Constant Field Values
-
CLASS_MODIFIERS
public static final short CLASS_MODIFIERS
Mask of access flags valid for a class.- See Also:
- Constant Field Values
-
INNERCLASS_MODIFIERS
public static final short INNERCLASS_MODIFIERS
Mask of access flags valid in anInnerClasses
attribute.- See Also:
- Constant Field Values
-
FIELD_MODIFIERS
public static final short FIELD_MODIFIERS
Mask of access flags valid for a field.- See Also:
- Constant Field Values
-
METHOD_MODIFIERS
public static final short METHOD_MODIFIERS
Mask of access flags valid for a method.- See Also:
- Constant Field Values
-
-
Method Detail
-
toString
public static String toString(int flags)
-
toString
public static String toString(int flags, char kind)
Return a string naming the access bits in flags.- Parameters:
kind
-CLASS_CONTEXT
for a class,METHOD_CONTEXT
for a method,FIELD_CONTEXT
for a field,INNERCLASS_CONTEXT
in anInnerClasses
attribute.
-
-