added -J option to preserve unmodified files in preexisting jarfile
[org.ibex.tool.git] / src / org / eclipse / jdt / internal / compiler / env / IConstants.java
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
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 package org.eclipse.jdt.internal.compiler.env;
12
13 import org.eclipse.jdt.internal.compiler.ast.ASTNode;
14
15 /**
16  * This interface defines constants for use by the builder / compiler
17  * interface.
18  */
19 public interface IConstants {
20         int AccDefault = 0;
21         /*
22          * Modifiers
23          */
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;
40         int AccEnum         = 0x4000;
41
42         /**
43          * Other VM flags.
44          */
45         int AccSuper = 0x0020;
46         /**
47          * Extra flags for types and members attributes.
48          */
49         int AccAnnotationDefault = ASTNode.Bit18; // indicate presence of an attribute  "DefaultValue" (annotation method)
50         int AccDeprecated = ASTNode.Bit21; // indicate presence of an attribute "Deprecated"
51         
52         
53 }