A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / lookup / TagBits.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 public interface TagBits {
14         // Tag bits in the tagBits int of every TypeBinding
15         final int IsArrayType = 0x0001;
16
17         final int IsBaseType = 0x0002;
18
19         final int IsNestedType = 0x0004;
20
21         final int IsMemberType = 0x0008;
22
23         final int MemberTypeMask = IsNestedType | IsMemberType;
24
25         final int IsLocalType = 0x0010;
26
27         final int LocalTypeMask = IsNestedType | IsLocalType;
28
29         final int IsAnonymousType = 0x0020;
30
31         final int AnonymousTypeMask = LocalTypeMask | IsAnonymousType;
32
33         final int IsBinaryBinding = 0x0040;
34
35         // for the type hierarchy check used by ClassScope
36         final int BeginHierarchyCheck = 0x0100;
37
38         final int EndHierarchyCheck = 0x0200;
39
40         // test bit to see if default abstract methods were computed
41         final int KnowsDefaultAbstractMethods = 0x0400;
42
43         // Reusable bit currently used by Scopes
44         final int InterfaceVisited = 0x0800;
45
46         // test bits to see if parts of binary types are faulted
47         final int AreFieldsComplete = 0x1000;
48
49         final int AreMethodsComplete = 0x2000;
50
51         // test bit to avoid asking a type for a member type (includes inherited
52         // member types)
53         final int HasNoMemberTypes = 0x4000;
54
55         // test bit to identify if the type's hierarchy is inconsistent
56         final int HierarchyHasProblems = 0x8000;
57 }