src/share/classes/com/sun/tools/javac/comp/Enter.java

changeset 1570
f91144b7da75
parent 1490
fc4cb1577ad6
child 1802
8fb68f73d4b1
equal deleted inserted replaced
1569:475eb15dfdad 1570:f91144b7da75
1 /* 1 /*
2 * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
129 lint = Lint.instance(context); 129 lint = Lint.instance(context);
130 names = Names.instance(context); 130 names = Names.instance(context);
131 131
132 predefClassDef = make.ClassDef( 132 predefClassDef = make.ClassDef(
133 make.Modifiers(PUBLIC), 133 make.Modifiers(PUBLIC),
134 syms.predefClass.name, null, null, null, null); 134 syms.predefClass.name,
135 List.<JCTypeParameter>nil(),
136 null,
137 List.<JCExpression>nil(),
138 List.<JCTree>nil());
135 predefClassDef.sym = syms.predefClass; 139 predefClassDef.sym = syms.predefClass;
136 todo = Todo.instance(context); 140 todo = Todo.instance(context);
137 fileManager = context.get(JavaFileManager.class); 141 fileManager = context.get(JavaFileManager.class);
138 142
139 Options options = Options.instance(context); 143 Options options = Options.instance(context);

mercurial