Interface JavaConstant.Simple.Dispatcher.OfMethodHandleDesc

    • Method Detail

      • of

        @IsStatic
        java.lang.Object of​(@Proxied("java.lang.constant.DirectMethodHandleDesc$Kind")
                            java.lang.Object kind,
                            @Proxied("java.lang.constant.ClassDesc")
                            java.lang.Object owner,
                            java.lang.String name,
                            java.lang.String descriptor)
        Resolves a java.lang.constant.MethodHandleDesc.
        Parameters:
        kind - The java.lang.constant.DirectMethodHandleDesc$Kind of the resolved method handle description.
        owner - The java.lang.constant.ClassDesc of the resolved method handle description's owner type.
        name - The name of the method handle to resolve.
        descriptor - A descriptor of the lookup type.
        Returns:
        An java.lang.constant.MethodTypeDesc representing the invocation type.
      • invocationType

        java.lang.Object invocationType​(java.lang.Object value)
        Resolves a java.lang.constant.MethodTypeDesc representing the invocation type of the supplied java.lang.constant.DirectMethodHandleDesc.
        Parameters:
        value - The java.lang.constant.DirectMethodHandleDesc to resolve.
        Returns:
        An java.lang.constant.MethodTypeDesc representing the invocation type.