Lines Matching defs:id
300 Identifier id = Identifier.lookup(currentPackage, nm);
301 if (importable(id, env)) {
302 className = id;
309 id = Identifier.lookup(t.getName(), nm);
311 if (importable(id, env)) {
316 className = id;
322 throw new AmbiguousClass(className, id);
341 * Check to see if 'id' names an importable class in `env'.
344 static public boolean importable(Identifier id, Environment env) {
345 if (!id.isInner()) {
346 return env.classExists(id);
347 } else if (!env.classExists(id.getTopName())) {
353 // env.getClassDeclaration(id.getTopName());
365 // This should be okay, as we are looking up id.getTopName(),
366 // not id.
368 env.getClassDeclaration(id.getTopName());
372 return c.innerClassExists(id.getFlatName().getTail());
437 public void addPackage(Identifier id) {
438 addPackage(new IdentifierToken(id));
452 public synchronized void setCurrentPackage(Identifier id) {
453 currentPackage = id;