Class Fold
java.lang.Object
com.headius.invokebinder.transform.Transform
com.headius.invokebinder.transform.Fold
An argument-folding transform.
Equivalent call: MethodHandles.foldArguments(MethodHandle, MethodHandle).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondown
(MethodType type) Apply this transform downward from an incoming MethodType, producing a new type.toJava
(MethodType incoming) Return a Java code representation of this transform.toString()
Return a string representation of this transform.up
(MethodHandle target) Apply this transform upward from the given MethodHandle, producing a new handle.Methods inherited from class com.headius.invokebinder.transform.Transform
buildClassArgument, buildClassArguments, buildClassCast, buildPrimitiveJava, generateMethodType
-
Field Details
-
FOLD_FUNCTION_JAVA
- See Also:
-
-
Constructor Details
-
Fold
-
-
Method Details
-
up
Description copied from class:Transform
Apply this transform upward from the given MethodHandle, producing a new handle. -
down
Description copied from class:Transform
Apply this transform downward from an incoming MethodType, producing a new type. -
toString
Description copied from class:Transform
Return a string representation of this transform. -
toJava
Description copied from class:Transform
Return a Java code representation of this transform.
-