SmartBinder |
SmartBinder.append(String[] names,
Class<?>[] types,
Object... values) |
Append the given arguments to the argument list, assigning them the
given names.
|
SmartBinder |
SmartBinder.append(String name,
boolean value) |
Append the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.append(String name,
byte value) |
Append the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.append(String name,
char value) |
Append the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.append(String name,
double value) |
Append the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.append(String name,
float value) |
Append the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.append(String name,
int value) |
Append the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.append(String name,
long value) |
Append the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.append(String name,
short value) |
Append the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.append(String name,
Class<?> type,
Object value) |
Append the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.append(String name,
Object value) |
Append the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.cast(Signature target) |
Cast the incoming arguments to the types in the given signature.
|
SmartBinder |
SmartBinder.cast(Class<?> returnType,
Class<?>... argTypes) |
Cast the incoming arguments to the return and argument types given.
|
SmartBinder |
SmartBinder.castArg(String name,
Class<?> type) |
Cast the named argument to the given type.
|
SmartBinder |
SmartBinder.castReturn(Class<?> type) |
Cast the return value to the given type.
|
SmartBinder |
SmartBinder.castVirtual(Class<?> returnType,
Class<?> firstArg,
Class<?>... restArgs) |
Cast the incoming arguments to the return, first argument type, and
remaining argument types.
|
SmartBinder |
SmartBinder.collect(String outName,
String namePattern) |
Collect arguments matching namePattern into an trailing array argument
named outName.
|
SmartBinder |
SmartBinder.collect(String outName,
String namePattern,
MethodHandle collector) |
Collect arguments matching namePattern into an trailing array argument
named outName, using collector to construct the array object.
|
SmartBinder |
SmartBinder.drop(String name) |
Drop the argument with the given name.
|
SmartBinder |
SmartBinder.dropFirst() |
Drop the first argument.
|
SmartBinder |
SmartBinder.dropFirst(int count) |
Drop the first N arguments.
|
SmartBinder |
SmartBinder.dropLast() |
Drop the last argument.
|
SmartBinder |
SmartBinder.dropLast(int count) |
Drop the last N arguments.
|
SmartBinder |
SmartBinder.exclude(String... excludeNames) |
Permute all parameters except the names given.
|
SmartBinder |
SmartBinder.filter(String pattern,
MethodHandle filter) |
Filter the arguments matching the given pattern using the given filter function.
|
SmartBinder |
SmartBinder.filterReturn(SmartHandle filter) |
Use the given filter function to transform the return value at this
point in the binder.
|
SmartBinder |
SmartBinder.filterReturn(MethodHandle filter) |
Use the given filter function to transform the return value at this
point in the binder.
|
SmartBinder |
SmartBinder.fold(String newName,
SmartHandle function) |
Pass all arguments to the given function and insert the resulting value
as newName into the argument list.
|
SmartBinder |
SmartBinder.fold(String newName,
MethodHandle function) |
Pass all arguments to the given function and insert the resulting value
as newName into the argument list.
|
SmartBinder |
SmartBinder.foldStatic(String newName,
Class<?> target,
String method) |
Acquire a public static folding function from the given target class,
using the given name.
|
SmartBinder |
SmartBinder.foldStatic(String newName,
MethodHandles.Lookup lookup,
Class<?> target,
String method) |
Acquire a static folding function from the given target class, using the
given name and Lookup.
|
SmartBinder |
SmartBinder.foldVirtual(String newName,
MethodHandles.Lookup lookup,
String method) |
Acquire a virtual folding function from the first argument's class,
using the given name and Lookup.
|
SmartBinder |
SmartBinder.foldVirtual(String newName,
String method) |
Acquire a public virtual folding function from the first argument's
class, using the given name and Lookup.
|
SmartBinder |
SmartBinder.foldVoid(SmartHandle function) |
Pass all arguments to the given function and drop any result.
|
SmartBinder |
SmartBinder.foldVoid(MethodHandle function) |
Pass all arguments to the given function and drop any result.
|
static SmartBinder |
SmartBinder.from(Signature inbound) |
Create a new SmartBinder from the given Signature.
|
static SmartBinder |
SmartBinder.from(Class<?> retType,
String[] names,
Class<?>... types) |
Create a new SmartBinder from the given types and argument names.
|
static SmartBinder |
SmartBinder.from(Class<?> retType,
String name,
Class<?> type) |
Create a new SmartBinder with from the given types and argument name.
|
static SmartBinder |
SmartBinder.from(MethodHandles.Lookup lookup,
Signature inbound) |
Create a new SmartBinder from the given Signature, using the given
Lookup for any handle lookups.
|
static SmartBinder |
SmartBinder.from(MethodHandles.Lookup lookup,
Class<?> retType,
String[] names,
Class<?>... types) |
Create a new SmartBinder from the given types and argument names,
using the given Lookup for any handle lookups.
|
static SmartBinder |
SmartBinder.from(MethodHandles.Lookup lookup,
Class<?> retType,
String name,
Class<?> type) |
Create a new SmartBinder from the given types and argument name,
using the given Lookup for any handle lookups.
|
SmartBinder |
SmartBinder.insert(int index,
String[] names,
Class<?>[] types,
Object... values) |
Insert arguments into the argument list at the given index with the
given names and values.
|
SmartBinder |
SmartBinder.insert(int index,
String name,
boolean value) |
Insert an argument into the argument list at the given index with the
given name and value.
|
SmartBinder |
SmartBinder.insert(int index,
String name,
byte value) |
Insert an argument into the argument list at the given index with the
given name and value.
|
SmartBinder |
SmartBinder.insert(int index,
String name,
char value) |
Insert an argument into the argument list at the given index with the
given name and value.
|
SmartBinder |
SmartBinder.insert(int index,
String name,
double value) |
Insert an argument into the argument list at the given index with the
given name and value.
|
SmartBinder |
SmartBinder.insert(int index,
String name,
float value) |
Insert an argument into the argument list at the given index with the
given name and value.
|
SmartBinder |
SmartBinder.insert(int index,
String name,
int value) |
Insert an argument into the argument list at the given index with the
given name and value.
|
SmartBinder |
SmartBinder.insert(int index,
String name,
long value) |
Insert an argument into the argument list at the given index with the
given name and value.
|
SmartBinder |
SmartBinder.insert(int index,
String name,
short value) |
Insert an argument into the argument list at the given index with the
given name and value.
|
SmartBinder |
SmartBinder.insert(int index,
String name,
Class<?> type,
Object value) |
Insert an argument into the argument list at the given index with the
given name and value.
|
SmartBinder |
SmartBinder.insert(int index,
String name,
Object value) |
Insert an argument into the argument list at the given index with the
given name and value.
|
SmartBinder |
SmartBinder.permute(Signature target) |
Using the argument names and order in the target Signature, permute the
arguments in this SmartBinder.
|
SmartBinder |
SmartBinder.permute(String... targetNames) |
Using the argument names and order in the given targetNames, permute the
arguments in this SmartBinder.
|
SmartBinder |
SmartBinder.prepend(String[] names,
Class<?>[] types,
Object... values) |
Prepend the given arguments to the argument list, assigning them the
given name.
|
SmartBinder |
SmartBinder.prepend(String name,
boolean value) |
Prepend the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.prepend(String name,
byte value) |
Prepend the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.prepend(String name,
char value) |
Prepend the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.prepend(String name,
double value) |
Prepend the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.prepend(String name,
float value) |
Prepend the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.prepend(String name,
int value) |
Prepend the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.prepend(String name,
long value) |
Prepend the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.prepend(String name,
short value) |
Prepend the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.prepend(String name,
Class<?> type,
Object value) |
Prepend the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.prepend(String name,
Object value) |
Prepend the given argument to the argument list, assigning it the
given name.
|
SmartBinder |
SmartBinder.printSignature() |
Print this binder's current signature to System.out.
|
SmartBinder |
SmartBinder.printSignature(PrintStream ps) |
Print this binder's current signature to the give PrintStream.
|
SmartBinder |
SmartBinder.spread(String[] spreadNames,
Class<?>... spreadTypes) |
Spread a trailing array into the specified argument types.
|
SmartBinder |
SmartBinder.spread(String baseName,
int count) |
Spread a trailing array into count number of arguments, using the
natural component type for the array.
|
SmartBinder |
SmartBinder.tryFinally(MethodHandle post) |
|