Uses of Interface
java.lang.constant.DirectMethodHandleDesc
Packages that use DirectMethodHandleDesc
Package
Description
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.- 
Uses of DirectMethodHandleDesc in java.lang.constantFields in java.lang.constant declared as DirectMethodHandleDescModifier and TypeFieldDescriptionstatic DirectMethodHandleDescConstantDescs.BSM_ENUM_CONSTANTMethodHandleDescrepresentingConstantBootstraps.enumConstantstatic DirectMethodHandleDescConstantDescs.BSM_EXPLICIT_CASTMethodHandleDescrepresentingConstantBootstraps.explicitCast(Lookup, String, Class, Object)ConstantBootstraps.explicitCast}static DirectMethodHandleDescConstantDescs.BSM_GET_STATIC_FINALMethodHandleDescrepresentingConstantBootstraps.getStaticFinalstatic DirectMethodHandleDescConstantDescs.BSM_INVOKEMethodHandleDescrepresentingConstantBootstraps.invokestatic DirectMethodHandleDescConstantDescs.BSM_NULL_CONSTANTMethodHandleDescrepresentingConstantBootstraps.nullConstantstatic DirectMethodHandleDescConstantDescs.BSM_PRIMITIVE_CLASSMethodHandleDescrepresentingConstantBootstraps.primitiveClassstatic DirectMethodHandleDescConstantDescs.BSM_VARHANDLE_ARRAYMethodHandleDescrepresentingConstantBootstraps.arrayVarHandlestatic DirectMethodHandleDescConstantDescs.BSM_VARHANDLE_FIELDMethodHandleDescrepresentingConstantBootstraps.fieldVarHandlestatic DirectMethodHandleDescConstantDescs.BSM_VARHANDLE_STATIC_FIELDMethodHandleDescrepresentingConstantBootstraps.staticVarHandleMethods in java.lang.constant that return DirectMethodHandleDescModifier and TypeMethodDescriptionDynamicConstantDesc.bootstrapMethod()Returns aMethodHandleDescdescribing the bootstrap method for this constant.static DirectMethodHandleDescMethodHandleDesc.of(DirectMethodHandleDesc.Kind kind, ClassDesc owner, String name, String lookupDescriptor)Creates a MethodHandleDesc corresponding to an invocation of a declared method, invocation of a constructor, or access to a field.static DirectMethodHandleDescConstantDescs.ofCallsiteBootstrap(ClassDesc owner, String name, ClassDesc returnType, ClassDesc... paramTypes)Returns aMethodHandleDesccorresponding to a bootstrap method for aninvokedynamiccallsite, which is a static method whose leading parameter types areLookup,String, andMethodType.static DirectMethodHandleDescConstantDescs.ofConstantBootstrap(ClassDesc owner, String name, ClassDesc returnType, ClassDesc... paramTypes)Returns aMethodHandleDesccorresponding to a bootstrap method for a dynamic constant, which is a static method whose leading arguments areLookup,String, andClass.static DirectMethodHandleDescMethodHandleDesc.ofConstructor(ClassDesc owner, ClassDesc... paramTypes)Returns a MethodHandleDesc corresponding to invocation of a constructorstatic DirectMethodHandleDescMethodHandleDesc.ofField(DirectMethodHandleDesc.Kind kind, ClassDesc owner, String fieldName, ClassDesc fieldType)Creates a MethodHandleDesc corresponding to a method handle that accesses a field.static DirectMethodHandleDescMethodHandleDesc.ofMethod(DirectMethodHandleDesc.Kind kind, ClassDesc owner, String name, MethodTypeDesc lookupMethodType)Creates a MethodHandleDesc corresponding to an invocation of a declared method or constructor.Methods in java.lang.constant with parameters of type DirectMethodHandleDescModifier and TypeMethodDescriptionstatic DynamicCallSiteDescDynamicCallSiteDesc.of(DirectMethodHandleDesc bootstrapMethod, MethodTypeDesc invocationType)Creates a nominal descriptor for aninvokedynamiccall site whose bootstrap method has no static arguments and for which the name parameter isConstantDescs.DEFAULT_NAME.static DynamicCallSiteDescDynamicCallSiteDesc.of(DirectMethodHandleDesc bootstrapMethod, String invocationName, MethodTypeDesc invocationType)Creates a nominal descriptor for aninvokedynamiccall site whose bootstrap method has no static arguments.static DynamicCallSiteDescDynamicCallSiteDesc.of(DirectMethodHandleDesc bootstrapMethod, String invocationName, MethodTypeDesc invocationType, ConstantDesc... bootstrapArgs)Creates a nominal descriptor for aninvokedynamiccall site.static <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> ConstantDescDynamicConstantDesc.ofCanonical(DirectMethodHandleDesc bootstrapMethod, String constantName, ClassDesc constantType, ConstantDesc[] bootstrapArgs)Returns a nominal descriptor for a dynamic constant, transforming it into a more specific type if the constant bootstrap is a well-known one and a more specific nominal descriptor type (e.g., ClassDesc) is available.static <T> DynamicConstantDesc<T>DynamicConstantDesc.ofNamed(DirectMethodHandleDesc bootstrapMethod, String constantName, ClassDesc constantType, ConstantDesc... bootstrapArgs)Returns a nominal descriptor for a dynamic constant.Constructors in java.lang.constant with parameters of type DirectMethodHandleDescModifierConstructorDescriptionprotectedDynamicConstantDesc(DirectMethodHandleDesc bootstrapMethod, String constantName, ClassDesc constantType, ConstantDesc... bootstrapArgs)Creates a nominal descriptor for a dynamic constant.