KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > core > util > IModifierConstants


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.core.util;
12
13 /**
14  * Definition of the modifier constants as specified in the JVM specifications.
15  *
16  * This interface is not intended to be implemented by clients.
17  *
18  * @since 2.0
19  */

20 public interface IModifierConstants {
21
22     int ACC_PUBLIC = 0x0001;
23     int ACC_PRIVATE = 0x0002;
24     int ACC_PROTECTED = 0x0004;
25     int ACC_STATIC = 0x0008;
26     int ACC_FINAL = 0x0010;
27     int ACC_SUPER = 0x0020;
28     int ACC_SYNCHRONIZED = 0x0020;
29     int ACC_VOLATILE = 0x0040;
30     
31     /**
32      * Indicates a bridge method (added in J2SE 1.5).
33      * @since 3.0
34      */

35     int ACC_BRIDGE = 0x0040;
36     int ACC_TRANSIENT = 0x0080;
37     
38     /**
39      * Indicates a variable arity method (added in J2SE 1.5).
40      * @since 3.0
41      */

42     int ACC_VARARGS = 0x0080;
43     int ACC_NATIVE = 0x0100;
44     int ACC_INTERFACE = 0x0200;
45     int ACC_ABSTRACT = 0x0400;
46     int ACC_STRICT = 0x0800;
47     /**
48      * Indicates a synthetic member.
49      * @since 3.0
50      */

51     int ACC_SYNTHETIC = 0x1000;
52     
53     /**
54      * Indicates an annotation (added in J2SE 1.5).
55      * @since 3.0
56      */

57     int ACC_ANNOTATION = 0x2000;
58     
59     /**
60      * Indicates an enum (added in J2SE 1.5).
61      * @since 3.0
62      */

63     int ACC_ENUM = 0x4000;
64 }
65
Popular Tags