1 /*******************************************************************************
2 * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v0.5
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v05.html
9 * IBM Corporation - initial API and implementation
10 ******************************************************************************/
11 package net.sourceforge.phpdt.internal.compiler.lookup;
13 import net.sourceforge.phpdt.internal.compiler.classfmt.ClassFileConstants;
15 public interface CompilerModifiers extends ClassFileConstants { // modifier constant
16 // those constants are depending upon ClassFileConstants (relying that classfiles only use the 16 lower bits)
17 final int AccDefault = 0;
18 final int AccJustFlag = 0xFFFF;
19 final int AccCatchesExceptions = 0x10000;
20 final int AccThrowsExceptions = 0x20000;
21 final int AccProblem = 0x40000;
22 final int AccFromClassFile = 0x80000;
23 final int AccIsConstantValue = 0x80000;
24 final int AccDefaultAbstract = 0x80000;
25 final int AccDeprecatedImplicitly = 0x200000; // ie. is deprecated itself or contained by a deprecated type
26 final int AccAlternateModifierProblem = 0x400000;
27 final int AccModifierProblem = 0x800000;
28 final int AccSemicolonBody = 0x1000000;
29 final int AccUnresolved = 0x2000000;
30 final int AccClearPrivateModifier = 0x4000000; // might be requested during private access emulation
31 final int AccVisibilityMASK = AccPublic | AccProtected | AccPrivate;