code: public void setEditorSearchPackages(String[] packages) {
          SecurityManager sm = System.getSecurityManager();
          if (sm != null) {
              sm.checkPropertiesAccess();
          }
          this.packages = packages.clone();
      }
docs: Sets packages in which editors should be looked up.
  
  @param packages