Class Transform

    • Constructor Summary

      Constructors 
      Constructor Description
      Transform()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract java.lang.invoke.MethodType down​(java.lang.invoke.MethodType source)
      Apply this transform downward from an incoming MethodType, producing a new type.
      abstract java.lang.String toString()
      Return a string representation of this transform.
      abstract java.lang.invoke.MethodHandle up​(java.lang.invoke.MethodHandle target)
      Apply this transform upward from the given MethodHandle, producing a new handle.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Transform

        public Transform()
    • Method Detail

      • up

        public abstract java.lang.invoke.MethodHandle up​(java.lang.invoke.MethodHandle target)
        Apply this transform upward from the given MethodHandle, producing a new handle.
        Parameters:
        target - the target handle
        Returns:
        the adapted handle
      • down

        public abstract java.lang.invoke.MethodType down​(java.lang.invoke.MethodType source)
        Apply this transform downward from an incoming MethodType, producing a new type.
        Parameters:
        source - the source type
        Returns:
        the new type
      • toString

        public abstract java.lang.String toString()
        Return a string representation of this transform.
        Overrides:
        toString in class java.lang.Object
        Returns: