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

    Modifier and Type
    Method
    Description
    Class<?>[]
    Resolves a method type's parameter type.
    Resolves a method type's return type.
  • Method Details

    • returnType

      Class<?> returnType(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

      Class<?>[] parameterArray(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.