Interface JavaConstant.Simple.Dispatcher.OfDynamicConstantDesc
- All Superinterfaces:
JavaConstant.Simple.Dispatcher
- Enclosing interface:
JavaConstant.Simple.Dispatcher
@Proxied("java.lang.constant.DynamicConstantDesc")
public static interface JavaConstant.Simple.Dispatcher.OfDynamicConstantDesc
extends JavaConstant.Simple.Dispatcher
A dispatcher to represent
java.lang.constant.DynamicConstantDesc.-
Nested Class Summary
Nested classes/interfaces inherited from interface JavaConstant.Simple.Dispatcher
JavaConstant.Simple.Dispatcher.OfClassDesc, JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc, JavaConstant.Simple.Dispatcher.OfDynamicConstantDesc, JavaConstant.Simple.Dispatcher.OfMethodHandleDesc, JavaConstant.Simple.Dispatcher.OfMethodTypeDesc -
Method Summary
Modifier and TypeMethodDescriptionObject[]bootstrapArgs(Object value) Resolves ajava.lang.constant.DynamicConstantDesc's arguments.bootstrapMethod(Object value) Resolves ajava.lang.constant.DirectMethodHandleDescrepresenting the dynamic constant's bootstrap method.constantName(Object value) Resolves the dynamic constant description's name.constantType(Object value) Resolves ajava.lang.constant.ClassDescfor the dynamic constant's type.ofCanonical(Object bootstrap, String constantName, Object type, Object[] argument) Resolves ajava.lang.constant.DynamicConstantDescfor a canonical description of the constant.Methods inherited from interface JavaConstant.Simple.Dispatcher
isInstance, toArray
-
Method Details
-
ofCanonical
@IsStatic Object ofCanonical(@Proxied("java.lang.constant.DirectMethodHandleDesc") Object bootstrap, String constantName, @Proxied("java.lang.constant.ClassDesc") Object type, @Proxied("java.lang.constant.ConstantDesc") Object[] argument) Resolves ajava.lang.constant.DynamicConstantDescfor a canonical description of the constant.- Parameters:
bootstrap- Ajava.lang.constant.DirectMethodHandleDescdescribing the boostrap method of the dynamic constant.constantName- The constant's name.type- Ajava.lang.constant.ClassDescdescribing the constant's type.argument- Descriptions of the dynamic constant's arguments.- Returns:
- A
java.lang.constant.DynamicConstantDescfor the supplied arguments.
-
bootstrapArgs
-
constantName
-
constantType
-
bootstrapMethod
Resolves ajava.lang.constant.DirectMethodHandleDescrepresenting the dynamic constant's bootstrap method.- Parameters:
value- Thejava.lang.constant.DynamicConstantDescto resolve.- Returns:
- A
java.lang.constant.DirectMethodHandleDescrepresenting the dynamic constant's bootstrap method.
-