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
library.-
Uses of ConstantValueAttribute in java.lang.classfile
Modifier and TypeMethodDescriptionAttributes.constantValue()
Returns Attribute mapper for theConstantValue
attribute. -
Uses of ConstantValueAttribute in java.lang.classfile.attribute
Modifier and TypeInterfaceDescriptioninterface
Models theConstantValue
attribute (JVMS 4.7.2), which can appear on fields and indicates that the field's value is a constant.Modifier and TypeMethodDescriptionstatic ConstantValueAttribute
ConstantValueAttribute.of
(ConstantValueEntry value) Returns aConstantValue
attribute.static ConstantValueAttribute
ConstantValueAttribute.of
(ConstantDesc value) Returns aConstantValue
attribute.