Uses of Interface
java.lang.classfile.attribute.ConstantValueAttribute
Packages that use ConstantValueAttributePREVIEW
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
Methods in java.lang.classfilePREVIEW that return types with arguments of type ConstantValueAttributePREVIEWModifier and TypeMethodDescriptionAttributes.constantValue()
Returns Attribute mapper for theConstantValue
attribute. -
Uses of ConstantValueAttributePREVIEW in java.lang.classfile.attributePREVIEW
Subinterfaces with type arguments of type ConstantValueAttributePREVIEW in java.lang.classfile.attributePREVIEWModifier and TypeInterfaceDescriptioninterface
Preview.Models theConstantValue
attribute 4.7.2, which can appear on fields and indicates that the field's value is a constant.Methods in java.lang.classfile.attributePREVIEW that return ConstantValueAttributePREVIEWModifier and TypeMethodDescriptionConstantValueAttribute.of
(ConstantValueEntryPREVIEW value) Returns aConstantValue
attribute.ConstantValueAttribute.of
(ConstantDesc value) Returns aConstantValue
attribute.