mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8336756: Improve ClassFile Annotation writing
Reviewed-by: asotona
This commit is contained in:
parent
0267284c52
commit
1ebf2cf639
3 changed files with 47 additions and 99 deletions
|
@ -97,10 +97,7 @@ public sealed interface AnnotationValue {
|
|||
* @since 22
|
||||
*/
|
||||
@PreviewFeature(feature = PreviewFeature.Feature.CLASSFILE_API)
|
||||
sealed interface OfConstant
|
||||
extends AnnotationValue
|
||||
permits OfString, OfDouble, OfFloat, OfLong, OfInt, OfShort, OfChar, OfByte,
|
||||
OfBoolean, AnnotationImpl.OfConstantImpl {
|
||||
sealed interface OfConstant extends AnnotationValue {
|
||||
/**
|
||||
* {@return the constant pool entry backing this constant element}
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue