Uses of Class
java.lang.constant.DynamicConstantDesc
Packages that use DynamicConstantDesc
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
Classes and interfaces to represent nominal descriptors for run-time
entities such as classes or method handles, and classfile entities such as
constant pool entries or
invokedynamic
call sites.The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine. Classes to support low-level and efficient foreign memory/function access, directly from Java.
-
Uses of DynamicConstantDesc in java.lang
Subclasses of DynamicConstantDesc in java.langModifier and TypeClassDescriptionstatic final class
Enum.EnumDesc<E extends Enum<E>>
A nominal descriptor for anenum
constant.Methods in java.lang that return types with arguments of type DynamicConstantDescModifier and TypeMethodDescriptionBoolean.describeConstable()
Returns anOptional
containing the nominal descriptor for this instance.Byte.describeConstable()
Returns anOptional
containing the nominal descriptor for this instance.Character.describeConstable()
Returns anOptional
containing the nominal descriptor for this instance.Short.describeConstable()
Returns anOptional
containing the nominal descriptor for this instance. -
Uses of DynamicConstantDesc in java.lang.constant
Fields in java.lang.constant declared as DynamicConstantDescModifier and TypeFieldDescriptionstatic final DynamicConstantDesc<Boolean>
ConstantDescs.FALSE
Nominal descriptor representing the constant Boolean.FALSEstatic final DynamicConstantDesc<Boolean>
ConstantDescs.TRUE
Nominal descriptor representing the constant Boolean.TRUEMethods in java.lang.constant that return DynamicConstantDescModifier and TypeMethodDescriptionstatic <T> DynamicConstantDesc<T>
DynamicConstantDesc.of
(DirectMethodHandleDesc bootstrapMethod) Returns a nominal descriptor for a dynamic constant whose bootstrap has no static arguments, whose name parameter isConstantDescs.DEFAULT_NAME
, and whose type parameter is always the same as the bootstrap method return type.static <T> DynamicConstantDesc<T>
DynamicConstantDesc.of
(DirectMethodHandleDesc bootstrapMethod, ConstantDesc... bootstrapArgs) Returns a nominal descriptor for a dynamic constant whose name parameter isConstantDescs.DEFAULT_NAME
, and whose type parameter is always the same as the bootstrap method return type.static <T> DynamicConstantDesc<T>
DynamicConstantDesc.ofNamed
(DirectMethodHandleDesc bootstrapMethod, String constantName, ClassDesc constantType, ConstantDesc... bootstrapArgs) Returns a nominal descriptor for a dynamic constant. -
Uses of DynamicConstantDesc in java.lang.invoke
Subclasses of DynamicConstantDesc in java.lang.invokeModifier and TypeClassDescriptionstatic final class
A nominal descriptor for aVarHandle
constant. -
Uses of DynamicConstantDesc in jdk.incubator.foreign
Methods in jdk.incubator.foreign that return types with arguments of type DynamicConstantDescModifier and TypeMethodDescriptionFunctionDescriptor.describeConstable()
GroupLayout.describeConstable()
Optional<? extends DynamicConstantDesc<? extends MemoryLayout>>
MemoryLayout.describeConstable()
SequenceLayout.describeConstable()
ValueLayout.describeConstable()