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
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;
17 final int IsBaseType = 0x0002;
19 final int IsNestedType = 0x0004;
21 final int IsMemberType = 0x0008;
23 final int MemberTypeMask = IsNestedType | IsMemberType;
25 final int IsLocalType = 0x0010;
27 final int LocalTypeMask = IsNestedType | IsLocalType;
29 final int IsAnonymousType = 0x0020;
31 final int AnonymousTypeMask = LocalTypeMask | IsAnonymousType;
33 final int IsBinaryBinding = 0x0040;
35 // for the type hierarchy check used by ClassScope
36 final int BeginHierarchyCheck = 0x0100;
38 final int EndHierarchyCheck = 0x0200;
40 // test bit to see if default abstract methods were computed
41 final int KnowsDefaultAbstractMethods = 0x0400;
43 // Reusable bit currently used by Scopes
44 final int InterfaceVisited = 0x0800;
46 // test bits to see if parts of binary types are faulted
47 final int AreFieldsComplete = 0x1000;
49 final int AreMethodsComplete = 0x2000;
51 // test bit to avoid asking a type for a member type (includes inherited
53 final int HasNoMemberTypes = 0x4000;
55 // test bit to identify if the type's hierarchy is inconsistent
56 final int HierarchyHasProblems = 0x8000;