1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package net
.multiphasicapps
.classfile
;
12 import cc
.squirreljme
.runtime
.cldc
.debug
.Debugging
;
15 * These are flags which modify how a class is accessed and is behaved.
54 public final int javaBitMask()
58 case PUBLIC
: return 0x0001;
59 case FINAL
: return 0x0010;
60 case SUPER
: return 0x0020;
61 case INTERFACE
: return 0x0200;
62 case ABSTRACT
: return 0x0400;
63 case SYNTHETIC
: return 0x1000;
64 case ANNOTATION
: return 0x2000;
65 case ENUM
: return 0x4000;
67 throw Debugging
.oops();