bitflags! {
pub flags AccessFlags: u16 {
/// Declared public; may be accessed from outside its package.
const ACC_PUBLIC = 0x0001,
/// Declared final; no subclasses allowed.
const ACC_FINAL = 0x0010,
/// Treat superclass methods specially when invoked by the invokespecial instruction.
const ACC_SUPER = 0x0020,
/// Is an interface, not a class.
const ACC_INTERFACE = 0x0200,
/// Declared abstract; must not be instantiated.
const ACC_ABSTRACT = 0x0400,
/// Declared synthetic; not present in the source code.
const ACC_SYNTHETIC = 0x1000,
/// Declared as an annotation type.
const ACC_ANNOTATION = 0x2000,
/// Declared as an enum type.
const ACC_ENUM = 0x4000
}
}