ClassReader and BufWriter

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Feb 9 15:16:40 UTC 2023


On 09/02/2023 14:54, Brian Goetz wrote:
>  - The ClassFile-specific elements -- Superclass, Interfaces, 
> ClassfileVersion, maybe AccessFlags (which is shared with method and 
> field models).  But, where?  And there's just not many of them. 

And annotations, and signatures.

Unfortunately, as these have nested types, they impact quite a lot on 
the javadoc :-(

https://htmlpreview.github.io/?https://raw.githubusercontent.com/openjdk/jdk-sandbox/classfile-api-javadoc-branch/doc/classfile-api/javadoc/java.base/jdk/internal/classfile/package-summary.html

I counted 93 classes in the main package javadoc. Of these, 10 are for 
signatures, 17 are for annotations/annotation values and 16 are for type 
annotations. That's 43 types - which is quite a lot, considering that 
these types are not meant to be the star of the show.

Maurizio




More information about the classfile-api-dev mailing list