Removed unuse builder from project
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / lookup / CompilerModifiers.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2003 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 net.sourceforge.phpdt.internal.compiler.lookup;
12
13 import net.sourceforge.phpdt.internal.compiler.env.IConstants;
14
15 public interface CompilerModifiers extends IConstants { // modifier constant
16         // those constants are depending upon ClassFileConstants (relying that
17         // classfiles only use the 16 lower bits)
18         final int AccDefault = 0;
19
20         final int AccJustFlag = 0xFFFF;
21
22         final int AccCatchesExceptions = 0x10000; // bit17
23
24         final int AccThrowsExceptions = 0x20000; // bit18 - also
25                                                                                                 // IConstants.AccSynthetic
26
27         final int AccProblem = 0x40000; // bit19
28
29         final int AccFromClassFile = 0x80000; // bit20
30
31         final int AccIsConstantValue = 0x80000; // bit20
32
33         final int AccDefaultAbstract = 0x80000; // bit20
34
35         // bit21 - IConstants.AccDeprecated
36         final int AccDeprecatedImplicitly = 0x200000; // bit22 to record whether
37                                                                                                         // deprecated itself or
38                                                                                                         // contained by a deprecated
39                                                                                                         // type
40
41         final int AccAlternateModifierProblem = 0x400000; // bit23
42
43         final int AccModifierProblem = 0x800000; // bit24
44
45         final int AccSemicolonBody = 0x1000000; // bit25
46
47         final int AccUnresolved = 0x2000000; // bit26
48
49         final int AccClearPrivateModifier = 0x4000000; // bit27 might be requested
50                                                                                                         // during private access
51                                                                                                         // emulation
52
53         final int AccBlankFinal = 0x4000000; // bit27 for blank final variables
54
55         final int AccPrivateUsed = 0x8000000; // bit28 used to diagnose unused
56                                                                                         // private members
57
58         final int AccVisibilityMASK = AccPublic | AccProtected | AccPrivate;
59
60         final int AccOverriding = 0x10000000; // bit29 to record fact a method
61                                                                                         // overrides another one
62
63         final int AccImplementing = 0x20000000; // bit30 to record fact a method
64                                                                                         // implements another one (it is
65                                                                                         // concrete and overrides an
66                                                                                         // abstract one)
67 }