(filename.java.i, filename.jar.i) 扩展名是什么意思

发布于 2024-11-18 08:30:10 字数 159 浏览 7 评论 0原文

我有名为 xxx.java.ixxx.java.dxxx.jar.i 的文件。我知道这些文件与 Java 有某种关系。这个扩展是什么意思以及它的用途是什么?它与 .class 扩展名的类型相同吗?

I have files named xxx.java.i,xxx.java.d,xxx.jar.i. I know that these file are somehow related to Java. What does this extension mean and for what is it used? Is it same type as the .class extension?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

沒落の蓅哖 2024-11-25 08:30:10

您应该查看您的构建系统以获取更多信息。这些可能是被转换并重命名为“.java”的中间文件。例如,我见过各种使用“.i”后缀表示“输入”的构建系统,并执行各种形式的变量替换(例如,将“{VERSION_NUMBER}”之类的内容更改为正在编译的库的版本号)。

You should look at your build system for more information. It is possible that these are intermediate files that get transformed and renamed to ".java". For example, I've seen various build systems that use the ".i" suffix to mean "input", and perform various forms of variable substitution (e.g. changing something like "{VERSION_NUMBER}" to the version number of the library being compiled).

依 靠 2024-11-25 08:30:10

我认为它们是由某人为了达到自己的目的而创建的,除非我们询问作者或看到内容,否则我们不会知道其目的是什么。

如果你看到乱码,它可能是java字节码,你可以使用一些反编译器来查看代码(参见:如何“反编译”Java 类文件?)。

I think they are created by someone to serve his own purpose and unless we ask the author or see the content we won't know what it the purpose is.

If you see garbled characters, it's probably java bytecode and you can use some decompiler to see the code (see: How do I "decompile" Java class files?).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文