Sitelet https://github.com/javaevolved/javaevolved.github.io/pull/199
Skip to content

Add standard Class-File API pattern - #199

Merged
brunoborges merged 1 commit into
mainfrom
brunoborges-issue-172-pattern-class-file-parsing-with-the-sta-165f5f
Aug 26, 2026
Merged

Add standard Class-File API pattern#199
brunoborges merged 1 commit into
mainfrom
brunoborges-issue-172-pattern-class-file-parsing-with-the-sta-165f5f

Conversation

@brunoborges

Copy link
Copy Markdown
Member

The JDK has provided a supported Class-File API since Java 24, removing the need for third-party bytecode libraries in many parsing and transformation workflows. This adds the requested advanced tooling pattern and makes that modernization path discoverable on java.evolved.

The pattern compares ASM-based parsing with ClassFile.of().parse(Path), links the standard API and JEP 484 documentation, and integrates the page into the tooling navigation chain. A Java 25 JBang proof parses its own compiled class and enumerates method names without external dependencies.

Validation

  • jbang proof/tooling/ClassFileApi.java
  • jbang html-generators/generate.java

Fixes: #172

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@brunoborges
brunoborges merged commit 2cbf607 into main Aug 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Pattern] Class-file parsing with the standard API

1 participant