Interface JavaConstant.MethodType.Dispatcher

    • Method Detail

      • returnType

        java.lang.Class<?> returnType​(java.lang.Object methodType)
        Extracts the return type of the supplied method type.
        Parameters:
        methodType - An instance of java.lang.invoke.MethodType.
        Returns:
        The return type that is described by the supplied instance.
      • parameterArray

        java.lang.Class<?>[] parameterArray​(java.lang.Object methodType)
        Extracts the parameter types of the supplied method type.
        Parameters:
        methodType - An instance of java.lang.invoke.MethodType.
        Returns:
        The parameter types that are described by the supplied instance.