Class Collect
java.lang.Object
com.headius.invokebinder.transform.Transform
com.headius.invokebinder.transform.Collect
An argument-boxing transform with a fixed incoming size.
Equivalent call: MethodHandle.asCollector(Class, int)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
down
(MethodType type) Apply this transform downward from an incoming MethodType, producing a new type.toString()
Return a string representation of this transform.up
(MethodHandle target) Apply this transform upward from the given MethodHandle, producing a new handle.
-
Field Details
-
source
-
index
private int index -
arrayType
-
-
Constructor Details
-
Collect
-
-
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. -
assertTypesAreCompatible
private void assertTypesAreCompatible() -
toString
Description copied from class:Transform
Return a string representation of this transform.
-