mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -29,7 +29,6 @@ import java.lang.classfile.constantpool.Utf8Entry;
|
|||
|
||||
import jdk.internal.classfile.impl.BoundAttribute;
|
||||
import jdk.internal.classfile.impl.UnboundAttribute;
|
||||
import jdk.internal.javac.PreviewFeature;
|
||||
|
||||
/**
|
||||
* Models a classfile attribute (JVMS {@jvms 4.7}). Many, though not all, subtypes of
|
||||
|
@ -42,9 +41,8 @@ import jdk.internal.javac.PreviewFeature;
|
|||
* @param <A> the attribute type
|
||||
*
|
||||
* @sealedGraph
|
||||
* @since 22
|
||||
* @since 24
|
||||
*/
|
||||
@PreviewFeature(feature = PreviewFeature.Feature.CLASSFILE_API)
|
||||
public sealed interface Attribute<A extends Attribute<A>>
|
||||
extends ClassFileElement
|
||||
permits AnnotationDefaultAttribute, BootstrapMethodsAttribute,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue