Home » openjdk-7 » com.sun.tools » javac » code » [javadoc | source]
public class: Symtab [javadoc | source]
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 supported API. 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
protected static final  Key<Symtab> symtabKey    The context key for the symbol table. 
public final  Type byteType    Builtin types. 
public final  Type charType     
public final  Type shortType     
public final  Type intType     
public final  Type longType     
public final  Type floatType     
public final  Type doubleType     
public final  Type booleanType     
public final  Type botType     
public final  JCNoType voidType     
public final  PackageSymbol rootPackage    A symbol for the root package. 
public final  PackageSymbol unnamedPackage    A symbol for the unnamed package. 
public final  TypeSymbol noSymbol    A symbol that stands for a missing symbol. 
public final  ClassSymbol errSymbol    The error symbol. 
public final  ClassSymbol unknownSymbol    The unknown symbol. 
public final  Type errType    A value for the errType, with a originalType of noType 
public final  Type unknownType    A value for the unknown type. 
public final  ClassSymbol arrayClass    The builtin type of all arrays. 
public final  MethodSymbol arrayCloneMethod     
public final  ClassSymbol boundClass    VGJ: The (singleton) type of all bound types. 
public final  ClassSymbol methodClass    The builtin type of all methods. 
public final  Type objectType    Predefined types. 
public final  Type classType     
public final  Type classLoaderType     
public final  Type stringType     
public final  Type stringBufferType     
public final  Type stringBuilderType     
public final  Type cloneableType     
public final  Type serializableType     
public final  Type methodHandleType     
public final  Type polymorphicSignatureType     
public final  Type throwableType     
public final  Type errorType     
public final  Type interruptedExceptionType     
public final  Type illegalArgumentExceptionType     
public final  Type exceptionType     
public final  Type runtimeExceptionType     
public final  Type classNotFoundExceptionType     
public final  Type noClassDefFoundErrorType     
public final  Type noSuchFieldErrorType     
public final  Type assertionErrorType     
public final  Type cloneNotSupportedExceptionType     
public final  Type annotationType     
public final  TypeSymbol enumSym     
public final  Type listType     
public final  Type collectionsType     
public final  Type comparableType     
public final  Type arraysType     
public final  Type iterableType     
public final  Type iteratorType     
public final  Type annotationTargetType     
public final  Type overrideType     
public final  Type retentionType     
public final  Type deprecatedType     
public final  Type suppressWarningsType     
public final  Type inheritedType     
public final  Type proprietaryType     
public final  Type systemType     
public final  Type autoCloseableType     
public final  Type trustMeType     
public final  VarSymbol lengthVar    The symbol representing the length field of an array. 
public final  OperatorSymbol nullcheck    The null check operator. 
public final  MethodSymbol enumFinalFinalize    The symbol representing the final finalize method on enums 
public final  MethodSymbol autoCloseableClose    The symbol representing the close method on TWR AutoCloseable type 
public final  Type[] typeOfTag    The predefined type that belongs to a tag. 
public final  Name[] boxedName    The name of the class that belongs to a basix type tag. 
public final  Map<Name, ClassSymbol> classes    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. 
public final  Map<Name, PackageSymbol> packages    A hashtable containing the encountered packages. the table should be updated from outside to reflect packages defined by compiled source files. 
public final  ClassSymbol predefClass    The class symbol that owns all predefined symbols. 
 protected Symtab(Context context) throws CompletionFailure 
    Constructor; enters all predefined identifiers and operators into symbol table.
Method from com.sun.tools.javac.code.Symtab Summary:
initType,   initType,   initType,   instance,   synthesizeBoxTypeIfMissing,   synthesizeEmptyInterfaceIfMissing
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.tools.javac.code.Symtab Detail:
 public  void initType(Type type,
    ClassSymbol c) 
 public  void initType(Type type,
    String name) 
 public  void initType(Type type,
    String name,
    String bname) 
 public static Symtab instance(Context context) 
    Get the symbol table instance.
 public  void synthesizeBoxTypeIfMissing(Type type) 
 public  void synthesizeEmptyInterfaceIfMissing(Type type)