是否有可能在编译器将其转换为字节码之前仅从 jython 中找到 java 源代码?

Is it possible to find just the java source from jython before a compiler turns it into bytecode?

据我了解,jython 编译器将 jython 代码编译成 java 源代码,然后将 java 代码编译成 $py.class 文件或 . class 文件(或者我完全错了,这不是它的工作原理,但这并没有真正改变问题。)

有没有办法让我在编译我的程序后得到一个 .java 文件和生成的 java 源代码,而不是得到一个 $py.class 文件或 .class 文件?如果是这样,那么我在哪里可以找到所述文件?

阅读Jython and Java Integration后,情况似乎不再如此。

Prior to Jython 2.5, the standard distribution of Jython included a utility known as jythonc. Its main purpose was to provide the ability to convert Python modules into Java classes so that Java applications could seamlessly make use of Python code, albeit in a roundabout fashion. jythonc actually compiles the Jython code down into Java .class files and then the classes are utilized within the Java application.

[...]jythonc is no longer packaged with the Jython distribution beginning with the 2.5 release.