JEP 457: Class-File API for Parsing, generating, transforming Java classfiles

The goal of this web content is to introduce a new Java class-file API that provides a standardized way of parsing, generating, and transforming Java class files. The motivation behind this API is the need for a reliable and up-to-date class-file library that can keep pace with the evolving JVM and class-file format. The content highlights the benefits of using this API, such as improved efficiency, user-driven navigation, laziness, and support for both streaming and materialized views of class files. It also discusses the principles and design goals of the API, including immutability, tree-structured representation, and decoupling builders from visitation. The content provides examples of how the API can be used for reading, writing, and transforming class files, showcasing its flexibility and conciseness. There is no controversial or surprising information in this content.

https://openjdk.org/jeps/457

To top