public boolean isImplicitlyImported(@NotNull Import name) {
      String packageOrClassName = getPackageOrClassName(name.name);
      if (!name.isStatic && packages.contains(packageOrClassName)) return true;
      ImplicitlyImportedStaticMember base = myStaticImportStatements.get(packageOrClassName);
      if (base != null) {
        if (!name.isStatic) return false;
        if (base.isOnDemand()) {
          return true;
        }
        else {
          return name.name.equals(base.getContainingClass() + "." + base.getMemberName());
        }
      }
      return false;
    }
public boolean isImplicitlyImported(@NotNull Import name)