langtools/src/share/classes/com/sun/tools/javac/code/Symtab.java
changeset 1260 a772ba9ba43d
parent 1257 873b053bf757
child 1264 076a3cde30d5
equal deleted inserted replaced
1259:61142e0aeb3f 1260:a772ba9ba43d
    71     public final Type doubleType = new Type(TypeTags.DOUBLE, null);
    71     public final Type doubleType = new Type(TypeTags.DOUBLE, null);
    72     public final Type booleanType = new Type(TypeTags.BOOLEAN, null);
    72     public final Type booleanType = new Type(TypeTags.BOOLEAN, null);
    73     public final Type botType = new BottomType();
    73     public final Type botType = new BottomType();
    74     public final JCNoType voidType = new JCNoType(TypeTags.VOID);
    74     public final JCNoType voidType = new JCNoType(TypeTags.VOID);
    75 
    75 
    76     private final Name.Table names;
    76     private final Names names;
    77     private final ClassReader reader;
    77     private final ClassReader reader;
    78     private final Target target;
    78     private final Target target;
    79 
    79 
    80     /** A symbol for the root package.
    80     /** A symbol for the root package.
    81      */
    81      */
   326      *  into symbol table.
   326      *  into symbol table.
   327      */
   327      */
   328     protected Symtab(Context context) throws CompletionFailure {
   328     protected Symtab(Context context) throws CompletionFailure {
   329         context.put(symtabKey, this);
   329         context.put(symtabKey, this);
   330 
   330 
   331         names = Name.Table.instance(context);
   331         names = Names.instance(context);
   332         target = Target.instance(context);
   332         target = Target.instance(context);
   333 
   333 
   334         // Create the unknown type
   334         // Create the unknown type
   335         unknownType = new Type(TypeTags.UNKNOWN, null);
   335         unknownType = new Type(TypeTags.UNKNOWN, null);
   336 
   336