Generate the file whose code builds the ACL2 environment.
(atj-gen-env-file deep$ guards$ java-package$ java-class$ output-file-env$ pkgs fns-to-translate verbose$ state) → state
Function:
(defun atj-gen-env-file (deep$ guards$ java-package$ java-class$ output-file-env$ pkgs fns-to-translate verbose$ state) (declare (xargs :stobjs (state))) (declare (xargs :guard (and (booleanp deep$) (booleanp guards$) (maybe-stringp java-package$) (stringp java-class$) (stringp output-file-env$) (string-listp pkgs) (symbol-listp fns-to-translate) (booleanp verbose$)))) (declare (xargs :guard (no-duplicatesp-equal pkgs))) (let ((__function__ 'atj-gen-env-file)) (declare (ignorable __function__)) (b* ((wrld (w state)) (cunit (if deep$ (atj-gen-deep-env-cunit guards$ java-package$ java-class$ pkgs fns-to-translate verbose$ wrld) (atj-gen-shallow-env-cunit java-package$ java-class$ pkgs verbose$))) ((unless (jcunitp cunit)) (raise "Internal error: generated an invalid compilation unit.") state) ((run-when verbose$) (cw "~%Generate the environment Java file.~%"))) (print-to-jfile (print-jcunit cunit) output-file-env$ state))))