public static Iterator stringToClasses(String string, boolean exactP) {
    { AllPurposeIterator iterator = AllPurposeIterator.newAllPurposeIterator();

      iterator.iteratorNestedIterator = Module.allClasses(null, false);
      iterator.iteratorFilterCode = Native.find_java_method("edu.isi.stella.Stella_Class", "filterStringToClassP", new java.lang.Class [] {Native.find_java_class("edu.isi.stella.Stella_Class"), Native.find_java_class("edu.isi.stella.AllPurposeIterator")});
      iterator.iteratorNextCode = Native.find_java_method("edu.isi.stella.AllPurposeIterator", "filteredNestedIteratorNextP", new java.lang.Class [] {Native.find_java_class("edu.isi.stella.AllPurposeIterator")});
      iterator.iteratorObject = StringWrapper.wrapString(string);
      iterator.iteratorInteger = (exactP ? 1 : 0);
      return (iterator);
    }
  }