85 this.types = Types.instance(context); |
85 this.types = Types.instance(context); |
86 } |
86 } |
87 |
87 |
88 /** Create a tree maker with a given toplevel and FIRSTPOS as initial position. |
88 /** Create a tree maker with a given toplevel and FIRSTPOS as initial position. |
89 */ |
89 */ |
90 TreeMaker(JCCompilationUnit toplevel, Names names, Types types, Symtab syms) { |
90 protected TreeMaker(JCCompilationUnit toplevel, Names names, Types types, Symtab syms) { |
91 this.pos = Position.FIRSTPOS; |
91 this.pos = Position.FIRSTPOS; |
92 this.toplevel = toplevel; |
92 this.toplevel = toplevel; |
93 this.names = names; |
93 this.names = names; |
94 this.types = types; |
94 this.types = types; |
95 this.syms = syms; |
95 this.syms = syms; |