Uses of Interface
java.lang.classfile.attribute.ConstantValueAttribute
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.-
Uses of ConstantValueAttributePREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptionAttributes.constantValue()
Returns Attribute mapper for theConstantValue
attribute. -
Uses of ConstantValueAttributePREVIEW in java.lang.classfile.attributePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.Models theConstantValue
attribute (JVMS 4.7.2), which can appear on fields and indicates that the field's value is a constant.Modifier and TypeMethodDescriptionConstantValueAttribute.of
(ConstantValueEntryPREVIEW value) Returns aConstantValue
attribute.ConstantValueAttribute.of
(ConstantDesc value) Returns aConstantValue
attribute.