Java Doc for Symtab.java in  » 6.0-JDK-Modules-sun » javac-compiler » com » sun » tools » javac » code » 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 » 6.0 JDK Modules sun » javac compiler » com.sun.tools.javac.code 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.tools.javac.code.Symtab

Symtab
public class Symtab (Code)
A class that defines all predefined constants and operators as well as special classes such as java.lang.Object, which need to be known to the compiler. All symbols are held in instance fields. This makes it possible to work in multiple concurrent projects, which might use different class files for library classes.

This is NOT part of any API supported by Sun Microsystems. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.



Field Summary
final public  TypeannotationTargetType
    
final public  TypeannotationType
    
final public  ClassSymbolarrayClass
     The builtin type of all arrays.
final public  MethodSymbolarrayCloneMethod
    
final public  TypearraysType
    
final public  TypeassertionErrorType
    
final public  TypebooleanType
    
final public  TypebotType
    
final public  ClassSymbolboundClass
     VGJ: The (singleton) type of all bound types.
final public  Name[]boxedName
     The name of the class that belongs to a basix type tag.
final public  TypebyteType
     Builtin types.
final public  TypecharType
    
final public  TypeclassLoaderType
    
final public  TypeclassNotFoundExceptionType
    
final public  TypeclassType
    
final public  Map<Name, ClassSymbol>classes
     A hashtable containing the encountered top-level and member classes, indexed by flat names.
final public  TypecloneNotSupportedExceptionType
    
final public  TypecloneableType
    
final public  TypecollectionsType
    
final public  TypecomparableType
    
final public  TypedeprecatedType
    
final public  TypedoubleType
    
final public  MethodSymbolenumFinalFinalize
    
final public  TypeSymbolenumSym
    
final public  ClassSymbolerrSymbol
     The error symbol.
final public  TypeerrType
     An instance of the error type.
final public  TypeerrorType
    
final public  TypeexceptionType
    
final public  TypefloatType
    
final public  TypeillegalArgumentExceptionType
    
final public  TypeinheritedType
    
final public  TypeintType
    
final public  TypeiterableType
    
final public  TypeiteratorType
    
final public  VarSymbollengthVar
     The symbol representing the length field of an array.
final public  TypelistType
    
final public  TypelongType
    
final public  ClassSymbolmethodClass
     The builtin type of all methods.
final public  TypenoClassDefFoundErrorType
    
final public  TypenoSuchFieldErrorType
    
final public  TypeSymbolnoSymbol
     A symbol that stands for a missing symbol.
final public  OperatorSymbolnullcheck
     The null check operator.
final public  TypeobjectType
     Predefined types.
final public  TypeoverrideType
    
final public  Map<Name, PackageSymbol>packages
     A hashtable containing the encountered packages.
final public  ClassSymbolpredefClass
     The class symbol that owns all predefined symbols.
final public  TypeproprietaryType
    
final public  TyperetentionType
    
final public  PackageSymbolrootPackage
     A symbol for the root package.
final public  TyperuntimeExceptionType
    
final public  TypeserializableType
    
final public  TypeshortType
    
final public  TypestringBufferType
    
final public  TypestringBuilderType
    
final public  TypestringType
    
final public  TypesuppressWarningsType
    
final protected static  Context.Key<Symtab>symtabKey
     The context key for the symbol table.
final public  TypethrowableType
    
final public  Type[]typeOfTag
     The predefined type that belongs to a tag.
final public  TypeunknownType
     A value for the unknown type.
final public  PackageSymbolunnamedPackage
     A symbol for the unnamed package.
final public  JCNoTypevoidType
    

Constructor Summary
protected  Symtab(Context context)
     Constructor; enters all predefined identifiers and operators into symbol table.

Method Summary
public  voidinitType(Type type, ClassSymbol c)
    
public  voidinitType(Type type, String name)
    
public  voidinitType(Type type, String name, String bname)
    
public static  Symtabinstance(Context context)
     Get the symbol table instance.

Field Detail
annotationTargetType
final public Type annotationTargetType(Code)



annotationType
final public Type annotationType(Code)



arrayClass
final public ClassSymbol arrayClass(Code)
The builtin type of all arrays.



arrayCloneMethod
final public MethodSymbol arrayCloneMethod(Code)



arraysType
final public Type arraysType(Code)



assertionErrorType
final public Type assertionErrorType(Code)



booleanType
final public Type booleanType(Code)



botType
final public Type botType(Code)



boundClass
final public ClassSymbol boundClass(Code)
VGJ: The (singleton) type of all bound types.



boxedName
final public Name[] boxedName(Code)
The name of the class that belongs to a basix type tag.



byteType
final public Type byteType(Code)
Builtin types.



charType
final public Type charType(Code)



classLoaderType
final public Type classLoaderType(Code)



classNotFoundExceptionType
final public Type classNotFoundExceptionType(Code)



classType
final public Type classType(Code)



classes
final public Map<Name, ClassSymbol> classes(Code)
A hashtable containing the encountered top-level and member classes, indexed by flat names. The table does not contain local classes. It should be updated from the outside to reflect classes defined by compiled source files.



cloneNotSupportedExceptionType
final public Type cloneNotSupportedExceptionType(Code)



cloneableType
final public Type cloneableType(Code)



collectionsType
final public Type collectionsType(Code)



comparableType
final public Type comparableType(Code)



deprecatedType
final public Type deprecatedType(Code)



doubleType
final public Type doubleType(Code)



enumFinalFinalize
final public MethodSymbol enumFinalFinalize(Code)
The symbol representing the final finalize method on enums



enumSym
final public TypeSymbol enumSym(Code)



errSymbol
final public ClassSymbol errSymbol(Code)
The error symbol.



errType
final public Type errType(Code)
An instance of the error type.



errorType
final public Type errorType(Code)



exceptionType
final public Type exceptionType(Code)



floatType
final public Type floatType(Code)



illegalArgumentExceptionType
final public Type illegalArgumentExceptionType(Code)



inheritedType
final public Type inheritedType(Code)



intType
final public Type intType(Code)



iterableType
final public Type iterableType(Code)



iteratorType
final public Type iteratorType(Code)



lengthVar
final public VarSymbol lengthVar(Code)
The symbol representing the length field of an array.



listType
final public Type listType(Code)



longType
final public Type longType(Code)



methodClass
final public ClassSymbol methodClass(Code)
The builtin type of all methods.



noClassDefFoundErrorType
final public Type noClassDefFoundErrorType(Code)



noSuchFieldErrorType
final public Type noSuchFieldErrorType(Code)



noSymbol
final public TypeSymbol noSymbol(Code)
A symbol that stands for a missing symbol.



nullcheck
final public OperatorSymbol nullcheck(Code)
The null check operator.



objectType
final public Type objectType(Code)
Predefined types.



overrideType
final public Type overrideType(Code)



packages
final public Map<Name, PackageSymbol> packages(Code)
A hashtable containing the encountered packages. the table should be updated from outside to reflect packages defined by compiled source files.



predefClass
final public ClassSymbol predefClass(Code)
The class symbol that owns all predefined symbols.



proprietaryType
final public Type proprietaryType(Code)



retentionType
final public Type retentionType(Code)



rootPackage
final public PackageSymbol rootPackage(Code)
A symbol for the root package.



runtimeExceptionType
final public Type runtimeExceptionType(Code)



serializableType
final public Type serializableType(Code)



shortType
final public Type shortType(Code)



stringBufferType
final public Type stringBufferType(Code)



stringBuilderType
final public Type stringBuilderType(Code)



stringType
final public Type stringType(Code)



suppressWarningsType
final public Type suppressWarningsType(Code)



symtabKey
final protected static Context.Key<Symtab> symtabKey(Code)
The context key for the symbol table.



throwableType
final public Type throwableType(Code)



typeOfTag
final public Type[] typeOfTag(Code)
The predefined type that belongs to a tag.



unknownType
final public Type unknownType(Code)
A value for the unknown type.



unnamedPackage
final public PackageSymbol unnamedPackage(Code)
A symbol for the unnamed package.



voidType
final public JCNoType voidType(Code)




Constructor Detail
Symtab
protected Symtab(Context context) throws CompletionFailure(Code)
Constructor; enters all predefined identifiers and operators into symbol table.




Method Detail
initType
public void initType(Type type, ClassSymbol c)(Code)



initType
public void initType(Type type, String name)(Code)



initType
public void initType(Type type, String name, String bname)(Code)



instance
public static Symtab instance(Context context)(Code)
Get the symbol table instance.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.