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