import eclipse 3.1 M4 compiler
[org.ibex.tool.git] / src / org / eclipse / jdt / internal / compiler / env / IConstants.java
index 4f3bfa1..c6cb0ac 100644 (file)
  *******************************************************************************/
 package org.eclipse.jdt.internal.compiler.env;
 
+import org.eclipse.jdt.internal.compiler.ast.ASTNode;
+
 /**
- * This interface defines constants for use by the builder / compiler interface.
+ * This interface defines constants for use by the builder / compiler
+ * interface.
  */
 public interface IConstants {
-
        int AccDefault = 0;
-
-       /**
+       /*
         * Modifiers
         */
-       int AccPublic = 0x0001;
-       int AccPrivate = 0x0002;
-       int AccProtected = 0x0004;
-       int AccStatic = 0x0008;
-       int AccFinal = 0x0010;
+       int AccPublic       = 0x0001;
+       int AccPrivate      = 0x0002;
+       int AccProtected    = 0x0004;
+       int AccStatic       = 0x0008;
+       int AccFinal        = 0x0010;
        int AccSynchronized = 0x0020;
-       int AccVolatile = 0x0040;
-       int AccBridge = 0x0040;
-       int AccTransient = 0x0080;
-       int AccVarargs = 0x0080;
-       int AccNative = 0x0100;
-       int AccInterface = 0x0200;
-       int AccAbstract = 0x0400;
-       int AccStrictfp = 0x0800;
-       int AccSynthetic = 0x1000;
+       int AccVolatile     = 0x0040;
+       int AccBridge       = 0x0040;
+       int AccTransient    = 0x0080;
+       int AccVarargs      = 0x0080;
+       int AccNative       = 0x0100;
+       int AccInterface    = 0x0200;
+       int AccAbstract     = 0x0400;
+       int AccStrictfp     = 0x0800;
+       int AccSynthetic    = 0x1000;
+       int AccAnnotation   = 0x2000;
+       int AccEnum         = 0x4000;
 
        /**
         * Other VM flags.
         */
        int AccSuper = 0x0020;
-
        /**
         * Extra flags for types and members attributes.
         */
-       int AccDeprecated = 0x100000;
+       int AccAnnotationDefault = ASTNode.Bit18; // indicate presence of an attribute  "DefaultValue" (annotation method)
+       int AccDeprecated = ASTNode.Bit21; // indicate presence of an attribute "Deprecated"
+       
        
 }