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 theConstantValueattribute. -
Uses of ConstantValueAttribute in java.lang.classfile.attribute
Subinterfaces with type arguments of type ConstantValueAttribute in java.lang.classfile.attributeModifier and TypeInterfaceDescriptioninterfaceModels theConstantValueattribute (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 ConstantValueAttributeConstantValueAttribute.of(ConstantValueEntry value) Returns aConstantValueattribute.static ConstantValueAttributeConstantValueAttribute.of(ConstantDesc value) Returns aConstantValueattribute.