Source Code Cross Referenced for TagBits.java in  » IDE-Eclipse » jdt » org » eclipse » jdt » internal » compiler » lookup » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » jdt » org.eclipse.jdt.internal.compiler.lookup 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*******************************************************************************
002:         * Copyright (c) 2000, 2007 IBM Corporation and others.
003:         * All rights reserved. This program and the accompanying materials
004:         * are made available under the terms of the Eclipse Public License v1.0
005:         * which accompanies this distribution, and is available at
006:         * http://www.eclipse.org/legal/epl-v10.html
007:         *
008:         * Contributors:
009:         *     IBM Corporation - initial API and implementation
010:         *******************************************************************************/package org.eclipse.jdt.internal.compiler.lookup;
011:
012:        import org.eclipse.jdt.internal.compiler.ast.ASTNode;
013:
014:        public interface TagBits {
015:
016:            // Tag bits in the tagBits int of every TypeBinding
017:            long IsArrayType = ASTNode.Bit1;
018:            long IsBaseType = ASTNode.Bit2;
019:            long IsNestedType = ASTNode.Bit3;
020:            long IsMemberType = ASTNode.Bit4;
021:            long MemberTypeMask = IsNestedType | IsMemberType;
022:            long IsLocalType = ASTNode.Bit5;
023:            long LocalTypeMask = IsNestedType | IsLocalType;
024:            long IsAnonymousType = ASTNode.Bit6;
025:            long AnonymousTypeMask = LocalTypeMask | IsAnonymousType;
026:            long IsBinaryBinding = ASTNode.Bit7;
027:
028:            long HasInconsistentHierarchy = ASTNode.Bit8; // for binary type binding only
029:
030:            // for the type cycle hierarchy check used by ClassScope
031:            long BeginHierarchyCheck = ASTNode.Bit9; // type
032:            long EndHierarchyCheck = ASTNode.Bit10; // type
033:            long ContainsNestedTypesInSignature = ASTNode.Bit10; // method
034:            long HasParameterAnnotations = ASTNode.Bit11; // method
035:
036:            // test bit to see if default abstract methods were computed
037:            long KnowsDefaultAbstractMethods = ASTNode.Bit11; // type
038:
039:            long IsArgument = ASTNode.Bit11; // local
040:            long ClearPrivateModifier = ASTNode.Bit11; // constructor binding
041:
042:            // test bits to see if parts of binary types are faulted
043:            long AreFieldsSorted = ASTNode.Bit13;
044:            long AreFieldsComplete = ASTNode.Bit14; // sorted and all resolved
045:            long AreMethodsSorted = ASTNode.Bit15;
046:            long AreMethodsComplete = ASTNode.Bit16; // sorted and all resolved
047:
048:            // test bit to avoid asking a type for a member type (includes inherited member types)
049:            long HasNoMemberTypes = ASTNode.Bit17;
050:
051:            // test bit to identify if the type's hierarchy is inconsistent
052:            long HierarchyHasProblems = ASTNode.Bit18;
053:
054:            // test bit to identify if the type's type variables have been connected
055:            long TypeVariablesAreConnected = ASTNode.Bit19;
056:
057:            // set for parameterized type with successfull bound check
058:            long PassedBoundCheck = ASTNode.Bit23;
059:
060:            // set for parameterized type NOT of the form X<?,?>
061:            long IsBoundParameterizedType = ASTNode.Bit24;
062:
063:            // used by BinaryTypeBinding
064:            long HasUnresolvedTypeVariables = ASTNode.Bit25;
065:            long HasUnresolvedSuperclass = ASTNode.Bit26;
066:            long HasUnresolvedSuperinterfaces = ASTNode.Bit27;
067:            long HasUnresolvedEnclosingType = ASTNode.Bit28;
068:            long HasUnresolvedMemberTypes = ASTNode.Bit29;
069:
070:            long HasTypeVariable = ASTNode.Bit30; // set either for type variables (direct) or parameterized types indirectly referencing type variables
071:            long HasDirectWildcard = ASTNode.Bit31; // set for parameterized types directly referencing wildcards
072:
073:            // for the annotation cycle hierarchy check used by ClassScope
074:            long BeginAnnotationCheck = ASTNode.Bit32L;
075:            long EndAnnotationCheck = ASTNode.Bit33L;
076:
077:            // standard annotations
078:            // 9-bits for targets
079:            long AnnotationResolved = ASTNode.Bit34L;
080:            long DeprecatedAnnotationResolved = ASTNode.Bit35L;
081:            long AnnotationTarget = ASTNode.Bit36L; // @Target({}) only sets this bit
082:            long AnnotationForType = ASTNode.Bit37L;
083:            long AnnotationForField = ASTNode.Bit38L;
084:            long AnnotationForMethod = ASTNode.Bit39L;
085:            long AnnotationForParameter = ASTNode.Bit40L;
086:            long AnnotationForConstructor = ASTNode.Bit41L;
087:            long AnnotationForLocalVariable = ASTNode.Bit42L;
088:            long AnnotationForAnnotationType = ASTNode.Bit43L;
089:            long AnnotationForPackage = ASTNode.Bit44L;
090:            long AnnotationTargetMASK = AnnotationTarget | AnnotationForType
091:                    | AnnotationForField | AnnotationForMethod
092:                    | AnnotationForParameter | AnnotationForConstructor
093:                    | AnnotationForLocalVariable | AnnotationForAnnotationType
094:                    | AnnotationForPackage;
095:            // 2-bits for retention (should check (tagBits & RetentionMask) == RuntimeRetention
096:            long AnnotationSourceRetention = ASTNode.Bit45L;
097:            long AnnotationClassRetention = ASTNode.Bit46L;
098:            long AnnotationRuntimeRetention = AnnotationSourceRetention
099:                    | AnnotationClassRetention;
100:            long AnnotationRetentionMASK = AnnotationSourceRetention
101:                    | AnnotationClassRetention | AnnotationRuntimeRetention;
102:            // marker annotations
103:            long AnnotationDeprecated = ASTNode.Bit47L;
104:            long AnnotationDocumented = ASTNode.Bit48L;
105:            long AnnotationInherited = ASTNode.Bit49L;
106:            long AnnotationOverride = ASTNode.Bit50L;
107:            long AnnotationSuppressWarnings = ASTNode.Bit51L;
108:            long AllStandardAnnotationsMask = AnnotationTargetMASK
109:                    | AnnotationRetentionMASK | AnnotationDeprecated
110:                    | AnnotationDocumented | AnnotationInherited
111:                    | AnnotationOverride | AnnotationSuppressWarnings;
112:
113:            long DefaultValueResolved = ASTNode.Bit52L;
114:
115:            // set when type contains non-private constructor(s)
116:            long HasNonPrivateConstructor = ASTNode.Bit53L;
117:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.