*/
  public static Iterator allModules() {
    { Iterator contextsiterator = Stella.allContexts();
      AllPurposeIterator iterator = AllPurposeIterator.newAllPurposeIterator();

      iterator.firstIterationP = true;
      iterator.iteratorNestedIterator = contextsiterator;
      iterator.iteratorNextCode = Native.find_java_method("edu.isi.stella.AllPurposeIterator", "filteredNestedIteratorNextP", new java.lang.Class [] {Native.find_java_class("edu.isi.stella.AllPurposeIterator")});
      iterator.iteratorFilterCode = Native.find_java_method("edu.isi.stella.Stella_Object", "filterModuleP", new java.lang.Class [] {Native.find_java_class("edu.isi.stella.Stella_Object"), Native.find_java_class("edu.isi.stella.AllPurposeIterator")});
      return (iterator);
    }
  }