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 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;
26 // for the type hierarchy check used by ClassScope
27 final int BeginHierarchyCheck = 0x0100;
28 final int EndHierarchyCheck = 0x0200;
30 // test bit to see if default abstract methods were computed
31 final int KnowsDefaultAbstractMethods = 0x0400;
33 // Reusable bit currently used by Scopes
34 final int InterfaceVisited = 0x0800;
36 // test bits to see if parts of binary types are faulted
37 final int AreFieldsComplete = 0x1000;
38 final int AreMethodsComplete = 0x2000;
40 // test bit to avoid asking a type for a member type (includes inherited member types)
41 final int HasNoMemberTypes = 0x4000;
43 // test bit to identify if the type's hierarchy is inconsistent
44 final int HierarchyHasProblems = 0x8000;