Lines Matching refs:where
49 public NewInstanceExpression(long where, Expression right, Expression args[]) {
50 super(NEWINSTANCE, where, Type.tError, right, args);
52 public NewInstanceExpression(long where, Expression right,
55 this(where, right, args);
108 env.error(where, "unqualified.name.required", typeName);
113 env.error(where, "invalid.field.reference",
124 right = new TypeExpression(right.where, Type.tClass(nm));
126 env.resolve(right.where, ctx.field.getClassDefinition(),
134 right = new TypeExpression(right.where, right.toType(env, ctx));
140 env.error(where, "ambig.class", ee.name1, ee.name2);
142 env.error(where, "class.not.found", ee.name, ctx.field);
150 env.error(where, "invalid.arg.type", t, opNames[op]);
167 insertOuterLink(env, ctx, where, def, outerArg, args);
172 outerArg = new CommaExpression(outerArg.where, outerArg, null);
248 env.error(where, "new.intf", c);
254 env.error(where, "new.abstract", c);
266 new MethodExpression(where, right, anyInit, args)
271 env.error(where, "unmatched.constr", sig, c);
285 env.error(where, "new.abstract", c);
290 env.error(where, "warn.constr.is.deprecated",
300 env.error(where, "invalid.protected.constructor.use",
305 env.error(where, "class.not.found", ee.name, opNames[op]);
309 env.error(where, "ambig.constr", ee.field1, ee.field2);
347 long where, ClassDefinition def,
355 outerArg = ctx.findOuterLink(env, where,
396 body[1] = new VarDeclarationStatement(where, v[1], outerArg);
398 body[0] = new ExpressionStatement(where, outerArg);
401 body[i+o] = new VarDeclarationStatement(where, v[i+o], args[i]);
409 return new InlineNewInstanceExpression(where, type, field, new CompoundStatement(where, body)).inline(env, ctx);
454 return new CommaExpression(where, e, this);
492 asm.add(where, opc_new, field.getClassDeclaration());
494 asm.add(where, opc_dup);
501 r.codeArguments(env, ctx, asm, where, field);
525 asm.add(where, opc_dup);
526 asm.add(where, opc_invokevirtual, getc);
527 asm.add(where, opc_pop);
536 asm.add(where, opc_aconst_null);
542 asm.add(where, opc_invokespecial,