01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.core.util;
11:
12: /**
13: * Definition of the modifier constants as specified in the JVM specifications.
14: *
15: * This interface is not intended to be implemented by clients.
16: *
17: * @since 2.0
18: */
19: public interface IModifierConstants {
20:
21: int ACC_PUBLIC = 0x0001;
22: int ACC_PRIVATE = 0x0002;
23: int ACC_PROTECTED = 0x0004;
24: int ACC_STATIC = 0x0008;
25: int ACC_FINAL = 0x0010;
26: int ACC_SUPER = 0x0020;
27: int ACC_SYNCHRONIZED = 0x0020;
28: int ACC_VOLATILE = 0x0040;
29:
30: /**
31: * Indicates a bridge method (added in J2SE 1.5).
32: * @since 3.0
33: */
34: int ACC_BRIDGE = 0x0040;
35: int ACC_TRANSIENT = 0x0080;
36:
37: /**
38: * Indicates a variable arity method (added in J2SE 1.5).
39: * @since 3.0
40: */
41: int ACC_VARARGS = 0x0080;
42: int ACC_NATIVE = 0x0100;
43: int ACC_INTERFACE = 0x0200;
44: int ACC_ABSTRACT = 0x0400;
45: int ACC_STRICT = 0x0800;
46: /**
47: * Indicates a synthetic member.
48: * @since 3.0
49: */
50: int ACC_SYNTHETIC = 0x1000;
51:
52: /**
53: * Indicates an annotation (added in J2SE 1.5).
54: * @since 3.0
55: */
56: int ACC_ANNOTATION = 0x2000;
57:
58: /**
59: * Indicates an enum (added in J2SE 1.5).
60: * @since 3.0
61: */
62: int ACC_ENUM = 0x4000;
63: }
|