Class Transform
java.lang.Object
com.headius.invokebinder.transform.Transform
- Direct Known Subclasses:
Cast,Catch,Collect,Convert,Drop,Filter,FilterReturn,Fold,Insert,Permute,Spread,TryFinally,Varargs
Abstract reprensentation of some handle transform.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract MethodTypedown(MethodType source) Apply this transform downward from an incoming MethodType, producing a new type.abstract StringtoString()Return a string representation of this transform.abstract MethodHandleup(MethodHandle target) Apply this transform upward from the given MethodHandle, producing a new handle.
-
Constructor Details
-
Transform
public Transform()
-
-
Method Details
-
up
Apply this transform upward from the given MethodHandle, producing a new handle.- Parameters:
target- the target handle- Returns:
- the adapted handle
-
down
Apply this transform downward from an incoming MethodType, producing a new type.- Parameters:
source- the source type- Returns:
- the new type
-
toString
Return a string representation of this transform.
-