Binder |
Binder.append(boolean value) |
Append to the argument list the given boolean value.
|
Binder |
Binder.append(byte value) |
Append to the argument list the given byte value.
|
Binder |
Binder.append(char value) |
Append to the argument list the given char value.
|
Binder |
Binder.append(double value) |
Append to the argument list the given double value.
|
Binder |
Binder.append(float value) |
Append to the argument list the given float value.
|
Binder |
Binder.append(int value) |
Append to the argument list the given int value.
|
Binder |
Binder.append(long value) |
Append to the argument list the given long value.
|
Binder |
Binder.append(short value) |
Append to the argument list the given short value.
|
Binder |
Binder.append(java.lang.Class<?>[] types,
java.lang.Object... values) |
Append to the argument list the given argument values with the specified types.
|
Binder |
Binder.append(java.lang.Class<?> type,
java.lang.Object value) |
Append to the argument list the given argument value with the specified type.
|
Binder |
Binder.append(java.lang.Object... values) |
Append to the argument list the given argument value(s).
|
Binder |
SmartBinder.binder() |
Get the Binder instance associated with this SmartBinder.
|
Binder |
Binder.cast(java.lang.Class<?> returnType,
java.lang.Class<?>... argTypes) |
Cast the incoming arguments to the given MethodType.
|
Binder |
Binder.cast(java.lang.invoke.MethodType type) |
Cast the incoming arguments to the given MethodType.
|
Binder |
Binder.castVirtual(java.lang.Class<?> returnType,
java.lang.Class<?> firstType,
java.lang.Class<?>... restTypes) |
Cast the incoming arguments to the given MethodType.
|
Binder |
Binder.catchException(java.lang.Class<? extends java.lang.Throwable> throwable,
java.lang.invoke.MethodHandle function) |
Catch the given exception type from the downstream chain and handle it with the
given function.
|
Binder |
Binder.collect(int index,
int count,
java.lang.Class<?> type) |
Box a range of incoming arguments into the given array type.
|
Binder |
Binder.collect(int index,
int count,
java.lang.Class<?> type,
java.lang.invoke.MethodHandle collector) |
Box a range of incoming arguments into the given array type using the given constructor to construct the array.
|
Binder |
Binder.collect(int index,
java.lang.Class<?> type) |
Box all incoming arguments from the given position onward into the given array type.
|
Binder |
Binder.collect(int index,
java.lang.Class<?> type,
java.lang.invoke.MethodHandle collector) |
Box all incoming arguments from the given position onward into the given array type.
|
Binder |
Binder.convert(java.lang.Class<?> returnType,
java.lang.Class<?>... argTypes) |
Convert the incoming arguments to the given MethodType.
|
Binder |
Binder.convert(java.lang.invoke.MethodType target) |
Convert the incoming arguments to the given MethodType.
|
Binder |
Binder.drop(int index) |
Drop a single argument at the given index.
|
Binder |
Binder.drop(int index,
int count) |
Drop from the given index a number of arguments.
|
Binder |
Binder.dropAll() |
Drop all arguments from this handle chain
|
Binder |
Binder.dropFirst() |
Drop a single argument at the beginning of the argument list.
|
Binder |
Binder.dropFirst(int count) |
Drop from the end of the argument list a number of arguments.
|
Binder |
Binder.dropLast() |
Drop a single argument at the end of the argument list.
|
Binder |
Binder.dropLast(int count) |
Drop from the end of the argument list a number of arguments.
|
Binder |
Binder.filter(int index,
java.lang.invoke.MethodHandle... functions) |
Filter incoming arguments, from the given index, replacing each with the
result of calling the associated function in the given list.
|
Binder |
Binder.filterForward(int index,
java.lang.invoke.MethodHandle... functions) |
Filter incoming arguments, from the given index, replacing each with the
result of calling the associated function in the given list.
|
Binder |
Binder.filterReturn(java.lang.invoke.MethodHandle function) |
Filter return value, using a function that produces the current return type
from another type.
|
Binder |
Binder.fold(java.lang.invoke.MethodHandle function) |
Process the incoming arguments using the given handle, inserting the result
as the first argument.
|
Binder |
Binder.foldStatic(java.lang.Class<?> target,
java.lang.String method) |
Process the incoming arguments by calling the given static method on the
given class, inserting the result as the first argument.
|
Binder |
Binder.foldStatic(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.Class<?> target,
java.lang.String method) |
Process the incoming arguments by calling the given static method on the
given class, inserting the result as the first argument.
|
Binder |
Binder.foldVirtual(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.String method) |
Process the incoming arguments by calling the given method on the first
argument, inserting the result as the first argument.
|
Binder |
Binder.foldVirtual(java.lang.String method) |
Process the incoming arguments by calling the given method on the first
argument, inserting the result as the first argument.
|
Binder |
Binder.foldVoid(java.lang.invoke.MethodHandle function) |
Process the incoming arguments using the given handle, leaving the argument list
unmodified.
|
static Binder |
Binder.from(Binder start) |
Construct a new Binder, starting from a given invokebinder.
|
static Binder |
Binder.from(java.lang.Class<?> returnType) |
Construct a new Binder using a return type.
|
static Binder |
Binder.from(java.lang.Class<?> returnType,
java.lang.Class<?>[] argTypes) |
Construct a new Binder using a return type and argument types.
|
static Binder |
Binder.from(java.lang.Class<?> returnType,
java.lang.Class<?> argType0,
java.lang.Class<?>... argTypes) |
Construct a new Binder using a return type and argument types.
|
static Binder |
Binder.from(java.lang.invoke.MethodHandles.Lookup lookup,
Binder start) |
Construct a new Binder, starting from a given invokebinder.
|
static Binder |
Binder.from(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.Class<?> returnType) |
Construct a new Binder using a return type.
|
static Binder |
Binder.from(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.Class<?> returnType,
java.lang.Class<?>[] argTypes) |
Construct a new Binder using a return type and argument types.
|
static Binder |
Binder.from(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.Class<?> returnType,
java.lang.Class<?> argType0,
java.lang.Class<?>... argTypes) |
Construct a new Binder using a return type and argument types.
|
static Binder |
Binder.from(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.invoke.MethodType start) |
Construct a new Binder, starting from a given MethodType.
|
static Binder |
Binder.from(java.lang.invoke.MethodType start) |
Construct a new Binder, starting from a given MethodType.
|
Binder |
Binder.insert(int index,
boolean value) |
Insert at the given index the given boolean value.
|
Binder |
Binder.insert(int index,
byte value) |
Insert at the given index the given byte value.
|
Binder |
Binder.insert(int index,
char value) |
Insert at the given index the given char value.
|
Binder |
Binder.insert(int index,
double value) |
Insert at the given index the given double value.
|
Binder |
Binder.insert(int index,
float value) |
Insert at the given index the given float value.
|
Binder |
Binder.insert(int index,
int value) |
Insert at the given index the given int value.
|
Binder |
Binder.insert(int index,
long value) |
Insert at the given index the given long value.
|
Binder |
Binder.insert(int index,
short value) |
Insert at the given index the given short value.
|
Binder |
Binder.insert(int index,
java.lang.Class<?>[] types,
java.lang.Object... values) |
Insert at the given index the given argument value(s).
|
Binder |
Binder.insert(int index,
java.lang.Class<?> type,
java.lang.Object value) |
Insert at the given index the given argument value.
|
Binder |
Binder.insert(int index,
java.lang.Object... values) |
Insert at the given index the given argument value(s).
|
Binder |
Binder.logType() |
Log the current MethodType as info.
|
Binder |
Binder.permute(int... reorder) |
Permute the incoming arguments to a new sequence specified by the given values.
|
Binder |
Binder.prepend(boolean value) |
Prepend to the argument list the given boolean value.
|
Binder |
Binder.prepend(byte value) |
Prepend to the argument list the given byte value.
|
Binder |
Binder.prepend(char value) |
Prepend to the argument list the given char value.
|
Binder |
Binder.prepend(double value) |
Prepend to the argument list the given double value.
|
Binder |
Binder.prepend(float value) |
Prepend to the argument list the given float value.
|
Binder |
Binder.prepend(int value) |
Prepend to the argument list the given int value.
|
Binder |
Binder.prepend(long value) |
Prepend to the argument list the given long value.
|
Binder |
Binder.prepend(short value) |
Prepend to the argument list the given short value.
|
Binder |
Binder.prepend(java.lang.Class<?>[] types,
java.lang.Object... values) |
Prepend to the argument list the given argument values with the specified types.
|
Binder |
Binder.prepend(java.lang.Class<?> type,
java.lang.Object value) |
Prepend to the argument list the given argument value with the specified type
|
Binder |
Binder.prepend(java.lang.Object... values) |
Prepend to the argument list the given argument value(s).
|
Binder |
Binder.printType() |
Println the current MethodType to stdout.
|
Binder |
Binder.printType(java.io.PrintStream ps) |
Println the current MethodType to the given stream.
|
Binder |
Binder.spread(int count) |
Spread a trailing array argument into the given number of arguments of
the type of the array.
|
Binder |
Binder.spread(java.lang.Class<?>... spreadTypes) |
Spread a trailing array argument into the specified argument types.
|
Binder |
Binder.to(Binder other) |
Join this binder to an existing one by applying its transformations after
this one.
|
Binder |
Binder.tryFinally(java.lang.invoke.MethodHandle post) |
Apply transforms to run the given handle's logic as a "finally" block.
|
Binder |
Binder.varargs(int index,
java.lang.Class<?> type) |
Box all incoming arguments from the given position onward into the given array type.
|
Binder |
Binder.withLookup(java.lang.invoke.MethodHandles.Lookup lookup) |
Use an alternate java.lang.invoke.MethodHandles.Lookup as the default for
any direct handles created.
|