src/share/classes/com/sun/tools/javac/tree/TreeMaker.java

changeset 1755
ddb4a2bfcd82
parent 1521
71f35e4b93a5
child 1782
b391ecea538e
equal deleted inserted replaced
1754:0384683c64be 1755:ddb4a2bfcd82
198 return tree; 198 return tree;
199 } 199 }
200 200
201 public JCVariableDecl VarDef(JCModifiers mods, Name name, JCExpression vartype, JCExpression init) { 201 public JCVariableDecl VarDef(JCModifiers mods, Name name, JCExpression vartype, JCExpression init) {
202 JCVariableDecl tree = new JCVariableDecl(mods, name, vartype, init, null); 202 JCVariableDecl tree = new JCVariableDecl(mods, name, vartype, init, null);
203 tree.pos = pos;
204 return tree;
205 }
206
207 public JCVariableDecl ReceiverVarDef(JCModifiers mods, JCExpression name, JCExpression vartype) {
208 JCVariableDecl tree = new JCVariableDecl(mods, name, vartype);
203 tree.pos = pos; 209 tree.pos = pos;
204 return tree; 210 return tree;
205 } 211 }
206 212
207 public JCSkip Skip() { 213 public JCSkip Skip() {

mercurial