1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
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 } }