code: public void importPackage(final String name) {
          this.importedPackages.remove(name);
          this.importedPackages.add(0, name);
          this.nameSpaceChanged();
      }
docs: subsequent imports override earlier ones.
  @param name the name