简体   繁体   English

什么是字节码转换?

[英]What is bytecode transformation?

While reading a documentation of dagger-hilt , I came across such a term "bytecode transformation".在阅读dagger-hilt的文档时,我遇到了这样一个术语“字节码转换”。 What is bytecode transformation?什么是字节码转换?

the complete sentence完整的句子

The Hilt Gradle plugin runs a bytecode transformation to make the APIs easier to use. Hilt Gradle 插件运行字节码转换以使 API 更易于使用。

What is the benefit of using bytecode transformation?使用字节码转换有什么好处?

Bytecode transformation happens after compilation and before dexing.字节码转换发生在编译之后和 dexing 之前。 Its input is bytecode and output is bytecode.它的输入是字节码,output是字节码。

Android tools team has privately announced that the existing bytecode transformation API is going to be deprecated and replaced with new ones. Android 工具团队私下宣布,现有的字节码转换 API 将被弃用并替换为新的。 Hopefully they will publish bytecode transformations soon.希望他们能尽快发布字节码转换。

Readmore:阅读更多:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM