1 /*******************************************************************************
2 * Copyright (c) 2000, 2004 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package org.eclipse.jdt.internal.compiler.env;
13 import org.eclipse.jdt.internal.compiler.ast.ASTNode;
16 * This interface defines constants for use by the builder / compiler
19 public interface IConstants {
24 int AccPublic = 0x0001;
25 int AccPrivate = 0x0002;
26 int AccProtected = 0x0004;
27 int AccStatic = 0x0008;
28 int AccFinal = 0x0010;
29 int AccSynchronized = 0x0020;
30 int AccVolatile = 0x0040;
31 int AccBridge = 0x0040;
32 int AccTransient = 0x0080;
33 int AccVarargs = 0x0080;
34 int AccNative = 0x0100;
35 int AccInterface = 0x0200;
36 int AccAbstract = 0x0400;
37 int AccStrictfp = 0x0800;
38 int AccSynthetic = 0x1000;
39 int AccAnnotation = 0x2000;
45 int AccSuper = 0x0020;
47 * Extra flags for types and members attributes.
49 int AccAnnotationDefault = ASTNode.Bit18; // indicate presence of an attribute "DefaultValue" (annotation method)
50 int AccDeprecated = ASTNode.Bit21; // indicate presence of an attribute "Deprecated"