Lines Matching refs:where

54     public FieldExpression(long where, Expression right, Identifier id) {
55 super(FIELD, where, Type.tError, right);
58 public FieldExpression(long where, Expression right, MemberDefinition field) {
59 super(FIELD, where, field.getType(), right);
117 if (env.resolve(where, ctxClass, t)) {
140 env.error(where, "inner.class.expected", id, rightClass);
148 env.error(where, "no.type.access", id, rightClass, ctxClass);
153 env.error(where, "invalid.protected.type.use", id, ctxClass, rty);
160 innerClass.noteUsedBy(ctxClass, where, env);
166 env.error(where, "class.not.found", e.name, ctx.field);
207 env.error(where, "invalid.type.expr");
211 if (env.resolve(where, ctx.field.getClassDefinition(), t)) {
240 env.error(where, "undef.var.super", idSuper);
269 env.error(right.where, "ambig.class", e.name1, e.name2);
276 env.error(ie.where, "undef.class", ie.id);
278 env.error(ie.where, "undef.var.or.class", ie.id);
282 env.error(ie.where, "undef.class.or.package", ie.id);
284 env.error(ie.where, "undef.var.class.or.package", ie.id);
333 new MethodExpression(where, null, af, args);
334 return new CommaExpression(where, base, call);
337 return new MethodExpression(where, null, af, args);
391 static boolean isTypeAccessible(long where,
408 return isTypeAccessible(where, env, t.getElementType(), c);
445 env.error(right.where, "invalid.type.expr");
449 Expression wcls = new TypeExpression(where, Type.tClass(wid));
450 implementation = new FieldExpression(where, wcls, idTYPE);
459 env.error(right.where, "void.array");
534 loc.right = new TypeExpression(where, Type.tClass(nm));
537 env.resolve(where, ctxClass, loc.right.type);
559 if (!FieldExpression.isTypeAccessible(where, env, right.type, ctxClass)) {
562 env.error(where, "no.type.access",
565 env.error(where, "cant.access.member.type",
570 implementation = new LengthExpression(where, right);
574 env.error(where, "invalid.field.reference", id, right.type);
610 // 'class.super.name' as '((S)(class.this)).name', where S is the
621 env.error(right.where, "invalid.type.expr");
640 implementation = ctx.findOuterLink(env, where, clazz, null, true);
674 env.error(where, "invalid.field",
677 env.error(where, "no.such.field", id, clazz);
685 if (!FieldExpression.isTypeAccessible(where, env, right.type, sourceClass)) {
688 env.error(where, "no.type.access",
691 env.error(where, "cant.access.member.type",
699 env.error(where, "no.field.access",
709 env.error(where, "no.static.field.access", id, clazz);
723 env.error(where, "invalid.protected.field.use",
731 env.error(where, "access.inst.before.super", id);
735 env.error(where, "warn."+"field.is.deprecated",
774 env.error(where, "class.not.found", e.name, ctx.field);
777 env.error(where, "ambig.field",
812 return new FieldUpdater(where, field, base, null, setter);
843 return new FieldUpdater(where, field, base, getter, setter);
859 env.error(where, "inner.static.ref", inner.getName());
862 Expression te = new TypeExpression(where, type);
869 //env.error(where, "no.type.access",
871 env.error(where, "no.type.access",
882 env.error(where, "invalid.protected.field.use",
888 inner.noteUsedBy(ctxClass, where, env);
891 env.error(where, "class.not.found", e.name, ctx.field);
924 env.error(where, "qualified.static.final.assign");
930 env.error(where, "bad.qualified.final.assign", field.getName());
936 vset = checkFinalAssign(env, ctx, vset, where, field);
938 env.error(where, "assign.to.final", id);
960 env.error(where, "assign.to.final", id);
980 Vset vset, long where,
991 env.error(where, "assign.to.blank.final", id);
996 env.error(where, "assign.to.final", id);
1066 Expression ccls = new TypeExpression(where,
1069 Expression cache = new FieldExpression(where, ccls, cfld);
1071 new NotEqualExpression(where, cache.copyInline(ctx),
1072 new NullExpression(where));
1074 new TypeExpression(where, lookup.getClassDefinition() .getType());
1075 Expression name = new StringExpression(where, className);
1077 Expression setCache = new MethodExpression(where, lcls,
1079 setCache = new AssignExpression(where, cache.copyInline(ctx),
1081 return new ConditionalExpression(where, cacheOK, cache, setCache);
1088 new TypeExpression(where, lookup.getClassDefinition().getType());
1089 Expression name = new StringExpression(where, className);
1091 Expression getClass = new MethodExpression(where, lcls,
1105 || (right.op == THIS && right.where == where))) {
1151 e.where = where;
1152 return new CommaExpression(where, right, e).inlineValue(env, ctx);
1161 return new CommaExpression(where, e, this);
1181 return new CommaExpression(where, e, this);
1248 asm.add(where, opc_getstatic, field);
1250 asm.add(where, opc_getfield, field);
1255 asm.add(where, opc_putstatic, field);
1257 asm.add(where, opc_putfield, field);