void process() {
		doclet.addProcessedPackage(el);
		getPath().mkdirs();
		File stub = new File(path, "__init__.pyi");
		try (PrintWriter printer = new PrintWriter(new FileWriter(stub))) {
			process(printer, "");
		}
		catch (IOException e) {
			e.printStackTrace();
		}

		File pypredefDir = new File(doclet.getDestDir().getParentFile(), "pypredef");
		File pypredefFile = new File(pypredefDir, packageName + ".pypredef");
		pypredefDir.mkdirs();
		try (PrintWriter printer = new PrintWriter(new FileWriter(pypredefFile))) {
			process(printer, "");
		}
		catch (IOException e) {
			e.printStackTrace();
		}
	}
Processes this package and its contents to create a __init__.pyi file
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/PythonTypeStubPackage.java