Interface JavaConstant.MethodHandle.MethodType

  • Enclosing class:
    JavaConstant.MethodHandle

    @Proxied("java.lang.invoke.MethodType")
    protected static interface JavaConstant.MethodHandle.MethodType
    A dispatcher to interact with java.lang.invoke.MethodType.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Class<?>[] parameterArray​(java.lang.Object value)
      Resolves a method type's parameter type.
      java.lang.Class<?> returnType​(java.lang.Object value)
      Resolves a method type's return type.
    • Method Detail

      • returnType

        java.lang.Class<?> returnType​(java.lang.Object value)
        Resolves a method type's return type.
        Parameters:
        value - The java.lang.invoke.MethodType to resolve.
        Returns:
        The method type's return type.
      • parameterArray

        java.lang.Class<?>[] parameterArray​(java.lang.Object value)
        Resolves a method type's parameter type.
        Parameters:
        value - The java.lang.invoke.MethodType to resolve.
        Returns:
        The method type's parameter types.