| /******************************************************************************* |
| * Copyright (c) 2000, 2004 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| 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. |
| */ |
| public interface IConstants { |
| int AccDefault = 0; |
| /* |
| * Modifiers |
| */ |
| 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 AccAnnotation = 0x2000; |
| int AccEnum = 0x4000; |
| |
| /** |
| * Other VM flags. |
| */ |
| int AccSuper = 0x0020; |
| /** |
| * Extra flags for types and members attributes. |
| */ |
| int AccAnnotationDefault = ASTNode.Bit18; // indicate presence of an attribute "DefaultValue" (annotation method) |
| int AccDeprecated = ASTNode.Bit21; // indicate presence of an attribute "Deprecated" |
| |
| |
| } |