Lines Matching refs:where
113 // If the name is of the form 'ClassName.N$localName', where N is
231 public boolean resolve(long where, ClassDefinition c, Type t) {
240 def = getQualifiedClassDefinition(where, nm, c, false);
244 error(where, "cant.access.class", def);
247 def.noteUsedBy(c, where, env);
249 error(where, "ambig.class", ee.name1, ee.name2);
257 env.error(where, "class.and.package",
261 env.error(where, "io.exception", "package check");
264 // error(where, "class.not.found", e.name, "declaration");
265 error(where, "class.not.found.no.context", e.name);
272 return resolve(where, c, t.getElementType());
275 boolean ok = resolve(where, c, t.getReturnType());
278 ok &= resolve(where, c, args[i]);
287 * Used to check components of qualified names in contexts where a class is expected.
290 public boolean resolveByName(long where, ClassDefinition c, Identifier nm) {
291 return resolveByName(where, c, nm, false);
294 public boolean resolveExtendsByName(long where, ClassDefinition c, Identifier nm) {
295 return resolveByName(where, c, nm, true);
298 private boolean resolveByName(long where, ClassDefinition c,
305 def = getQualifiedClassDefinition(where, nm, c, isExtends);
310 error(where, "cant.access.class", def);
314 error(where, "ambig.class", ee.name1, ee.name2);
322 env.error(where, "class.and.package",
326 env.error(where, "io.exception", "package check");
328 error(where, "class.not.found", e.name, "type name");
340 getQualifiedClassDefinition(long where,
379 env.error(where, "no.type.access", head, rdecl, ctxClass);
399 env.error(where, "invalid.protected.type.use",
580 public ClassDefinition makeClassDefinition(Environment origEnv, long where,
587 return env.makeClassDefinition(origEnv, where, name,
595 public MemberDefinition makeMemberDefinition(Environment origEnv, long where,
603 return env.makeMemberDefinition(origEnv, where, clazz, doc, modifiers,
874 public void error(Object source, long where, String err, Object arg1, Object arg2, Object arg3) {
875 env.error(source, where, err, arg1, arg2, arg3);
877 public final void error(long where, String err, Object arg1, Object arg2, Object arg3) {
878 error(source, where, err, arg1, arg2, arg3);
880 public final void error(long where, String err, Object arg1, Object arg2) {
881 error(source, where, err, arg1, arg2, null);
883 public final void error(long where, String err, Object arg1) {
884 error(source, where, err, arg1, null, null);
886 public final void error(long where, String err) {
887 error(source, where, err, null, null, null);