mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8334714: Implement JEP 484: Class-File API
Reviewed-by: liach, vromero
This commit is contained in:
parent
6cdebf0e4c
commit
84ffb64cd7
165 changed files with 312 additions and 799 deletions
|
@ -24,15 +24,12 @@
|
|||
*/
|
||||
package java.lang.classfile.constantpool;
|
||||
|
||||
import jdk.internal.javac.PreviewFeature;
|
||||
|
||||
/**
|
||||
* Models an entry in the constant pool of a classfile.
|
||||
*
|
||||
* @sealedGraph
|
||||
* @since 22
|
||||
* @since 24
|
||||
*/
|
||||
@PreviewFeature(feature = PreviewFeature.Feature.CLASSFILE_API)
|
||||
public sealed interface PoolEntry
|
||||
permits AnnotationConstantValueEntry, DynamicConstantPoolEntry,
|
||||
LoadableConstantEntry, MemberRefEntry, ModuleEntry, NameAndTypeEntry,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue