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 shortABSTRACTstatic shortANNOTATIONstatic shortBRIDGEstatic charCLASS_CONTEXTValue fortoString'skindparameter when decoding a class's access flags.static shortCLASS_MODIFIERSMask of access flags valid for a class.static shortENUMstatic charFIELD_CONTEXTValue fortoString'skindparameter when decoding a field's access flags.static shortFIELD_MODIFIERSMask of access flags valid for a field.static shortFINALstatic charINNERCLASS_CONTEXTValue fortoString'skindparameter when decoding access flags inInnerClassesattribute.static shortINNERCLASS_MODIFIERSMask of access flags valid in anInnerClassesattribute.static shortINTERFACEstatic charMETHOD_CONTEXTValue fortoString'skindparameter when decoding a methods's access flags.static shortMETHOD_MODIFIERSMask of access flags valid for a method.static shortNATIVEstatic shortPRIVATEstatic shortPROTECTEDstatic shortPUBLICstatic shortSTATICstatic shortSTRICTstatic shortSUPERstatic shortSYNCHRONIZEDstatic shortSYNTHETICstatic shortTRANSIENTstatic shortVARARGSstatic shortVOLATILE
-
Constructor Summary
Constructors Constructor Description Access()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringtoString(int flags)static StringtoString(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'skindparameter when decoding a class's access flags.- See Also:
- Constant Field Values
-
INNERCLASS_CONTEXT
public static final char INNERCLASS_CONTEXT
Value fortoString'skindparameter when decoding access flags inInnerClassesattribute.- See Also:
- Constant Field Values
-
FIELD_CONTEXT
public static final char FIELD_CONTEXT
Value fortoString'skindparameter when decoding a field's access flags.- See Also:
- Constant Field Values
-
METHOD_CONTEXT
public static final char METHOD_CONTEXT
Value fortoString'skindparameter 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 anInnerClassesattribute.- 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_CONTEXTfor a class,METHOD_CONTEXTfor a method,FIELD_CONTEXTfor a field,INNERCLASS_CONTEXTin anInnerClassesattribute.
-
-