0
|
1 /*
|
|
2 * Copyright 2002-2003 Sun Microsystems, Inc. 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
20 * CA 95054 USA or visit www.sun.com if you need additional information or
|
|
21 * have any questions.
|
|
22 *
|
|
23 */
|
|
24
|
|
25 package sun.jvm.hotspot.jdi;
|
|
26
|
|
27 import sun.jvm.hotspot.runtime.ClassConstants;
|
|
28 import com.sun.jdi.*;
|
|
29
|
|
30 public interface VMModifiers extends ClassConstants {
|
|
31 int PUBLIC = (int) JVM_ACC_PUBLIC; /* visible to everyone */
|
|
32 int PRIVATE = (int) JVM_ACC_PRIVATE; /* visible only to the defining class */
|
|
33 int PROTECTED = (int) JVM_ACC_PROTECTED; /* visible to subclasses */
|
|
34 int STATIC = (int) JVM_ACC_STATIC; /* instance variable is static */
|
|
35 int FINAL = (int) JVM_ACC_FINAL; /* no further subclassing, overriding */
|
|
36 int SYNCHRONIZED = (int) JVM_ACC_SYNCHRONIZED; /* wrap method call in monitor lock */
|
|
37 int VOLATILE = (int) JVM_ACC_VOLATILE; /* can cache in registers */
|
|
38 int BRIDGE = (int) JVM_ACC_BRIDGE; /* bridge method generated by compiler */
|
|
39 int TRANSIENT = (int) JVM_ACC_TRANSIENT; /* not persistant */
|
|
40 int VARARGS = (int) JVM_ACC_VARARGS; /* method declared with variable number of args */
|
|
41 int IS_ENUM_CONSTANT = (int) JVM_ACC_ENUM; /* field is declared as element of enum */
|
|
42 int NATIVE = (int) JVM_ACC_NATIVE; /* implemented in C */
|
|
43 int INTERFACE = (int) JVM_ACC_INTERFACE; /* class is an interface */
|
|
44 int ABSTRACT = (int) JVM_ACC_ABSTRACT; /* no definition provided */
|
|
45 int SYNTHETIC = (int) JVM_ACC_SYNTHETIC; /* not in source code */
|
|
46 }
|