equal
deleted
inserted
replaced
500 */ |
500 */ |
501 JCNewClass makeNewClass(Type ctype, List<JCExpression> args) { |
501 JCNewClass makeNewClass(Type ctype, List<JCExpression> args) { |
502 JCNewClass tree = make.NewClass(null, |
502 JCNewClass tree = make.NewClass(null, |
503 null, make.QualIdent(ctype.tsym), args, null); |
503 null, make.QualIdent(ctype.tsym), args, null); |
504 tree.constructor = rs.resolveConstructor( |
504 tree.constructor = rs.resolveConstructor( |
505 make_pos, attrEnv, ctype, TreeInfo.types(args), null, false, false); |
505 make_pos, attrEnv, ctype, TreeInfo.types(args), List.<Type>nil()); |
506 tree.type = ctype; |
506 tree.type = ctype; |
507 return tree; |
507 return tree; |
508 } |
508 } |
509 |
509 |
510 /** Make an attributed unary expression. |
510 /** Make an attributed unary expression. |