1 /* 2 * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 package com.sun.hotspot.tools.compiler; 26 27 interface Constants { 28 static final int JVM_ACC_PUBLIC = 0x0001; /* visible to everyone */ 29 static final int JVM_ACC_PRIVATE = 0x0002; /* visible only to the defining class */ 30 static final int JVM_ACC_PROTECTED = 0x0004; /* visible to subclasses */ 31 static final int JVM_ACC_STATIC = 0x0008; /* instance variable is static */ 32 static final int JVM_ACC_FINAL = 0x0010; /* no further subclassing, overriding */ 33 static final int JVM_ACC_SYNCHRONIZED = 0x0020; /* wrap method call in monitor lock */ 34 static final int JVM_ACC_SUPER = 0x0020; /* funky handling of invokespecial */ 35 static final int JVM_ACC_VOLATILE = 0x0040; /* can not cache in registers */ 36 static final int JVM_ACC_BRIDGE = 0x0040; /* bridge method generated by compiler */ 37 static final int JVM_ACC_TRANSIENT = 0x0080; /* not persistent */ 38 static final int JVM_ACC_VARARGS = 0x0080; /* method declared with variable number of args */ 39 static final int JVM_ACC_NATIVE = 0x0100; /* implemented in C */ 40 static final int JVM_ACC_INTERFACE = 0x0200; /* class is an interface */ 41 static final int JVM_ACC_ABSTRACT = 0x0400; /* no definition provided */ 42 static final int JVM_ACC_STRICT = 0x0800; /* strict floating point */ 43 static final int JVM_ACC_SYNTHETIC = 0x1000; /* compiler-generated class, method or field */ 44 static final int JVM_ACC_ANNOTATION = 0x2000; /* annotation type */ 45 static final int JVM_ACC_ENUM = 0x4000; /* field is declared as element of enum */ 46 } 47