Interface JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc

All Superinterfaces:
JavaConstant.Simple.Dispatcher
Enclosing interface:
JavaConstant.Simple.Dispatcher

@Proxied("java.lang.constant.DirectMethodHandleDesc") public static interface JavaConstant.Simple.Dispatcher.OfDirectMethodHandleDesc extends JavaConstant.Simple.Dispatcher
A dispatcher to represent java.lang.constant.DirectMethodHandleDesc.
  • Method Details

    • refKind

      int refKind(Object value)
      Resolves the type of method handle for the supplied method handle description.
      Parameters:
      value - The java.lang.constant.DirectMethodHandleDesc to resolve.
      Returns:
      The type of the handle.
    • methodName

      String methodName(Object value)
      Resolves the method name of the supplied direct method handle.
      Parameters:
      value - The java.lang.constant.DirectMethodHandleDesc to resolve.
      Returns:
      The handle's method name.
    • owner

      Object owner(Object value)
      Resolves a java.lang.constant.ClassDesc representing the owner of a direct method handle description.
      Parameters:
      value - The java.lang.constant.DirectMethodHandleDesc to resolve.
      Returns:
      A java.lang.constant.ClassDesc describing the handle's owner.
    • lookupDescriptor

      String lookupDescriptor(Object value)
      Resolves the lookup descriptor of the supplied direct method handle description.
      Parameters:
      value - The java.lang.constant.DirectMethodHandleDesc to resolve.
      Returns:
      A descriptor of the supplied direct method handle's lookup.