Skip to content

Instantly share code, notes, and snippets.

@TkTech
Created August 18, 2012 03:33
Show Gist options
  • Save TkTech/3384182 to your computer and use it in GitHub Desktop.
Save TkTech/3384182 to your computer and use it in GitHub Desktop.
class ClassFlags(Flags):
"""
:class:~jawa.classfile.ClassFile access flags.
"""
def __init__(self):
super(ClassFlags, self).__init__('>H', {
'acc_public': 0x0001,
'acc_final': 0x0010,
'acc_super': 0x0020,
'acc_interface': 0x0200,
'acc_abstract': 0x0400,
'acc_synthetic': 0x1000,
'acc_annotation': 0x2000,
'acc_enum': 0x4000
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment