Makefile fixup
[org.ibex.tool.git] / src / org / eclipse / jdt / internal / compiler / lookup / TagBits.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2004 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 org.eclipse.jdt.internal.compiler.lookup;
12
13 public interface TagBits {
14         // Tag bits in the tagBits int of every TypeBinding
15         final int IsArrayType = 0x0001;
16         final int IsBaseType = 0x0002;
17         final int IsNestedType = 0x0004;
18         final int IsMemberType = 0x0008;
19         final int MemberTypeMask = IsNestedType | IsMemberType;
20         final int IsLocalType = 0x0010;
21         final int LocalTypeMask = IsNestedType | IsLocalType;
22         final int IsAnonymousType = 0x0020;
23         final int AnonymousTypeMask = LocalTypeMask | IsAnonymousType;
24         final int IsBinaryBinding = 0x0040;
25
26         // for the type hierarchy check used by ClassScope
27         final int BeginHierarchyCheck = 0x0100;
28         final int EndHierarchyCheck = 0x0200;
29
30         // test bit to see if default abstract methods were computed
31         final int KnowsDefaultAbstractMethods = 0x0400;
32
33         // Reusable bit currently used by Scopes
34         final int InterfaceVisited = 0x0800;
35
36         // test bits to see if parts of binary types are faulted
37         final int AreFieldsComplete = 0x1000;
38         final int AreMethodsComplete = 0x2000;
39
40         // test bit to avoid asking a type for a member type (includes inherited member types)
41         final int HasNoMemberTypes = 0x4000;
42
43         // test bit to identify if the type's hierarchy is inconsistent
44         final int HierarchyHasProblems = 0x8000;
45 }