Uses of Class
com.headius.invokebinder.SmartBinder
Packages that use SmartBinder
-
Uses of SmartBinder in com.headius.invokebinder
Methods in com.headius.invokebinder that return SmartBinderModifier and TypeMethodDescriptionAppend the given arguments to the argument list, assigning them the given names.Append the given argument to the argument list, assigning it the given name.Append the given argument to the argument list, assigning it the given name.Append the given argument to the argument list, assigning it the given name.Append the given argument to the argument list, assigning it the given name.Append the given argument to the argument list, assigning it the given name.Append the given argument to the argument list, assigning it the given name.Append the given argument to the argument list, assigning it the given name.Append the given argument to the argument list, assigning it the given name.Append the given argument to the argument list, assigning it the given name.Append the given argument to the argument list, assigning it the given name.Cast the incoming arguments to the types in the given signature.Cast the incoming arguments to the return and argument types given.Cast the named argument to the given type.SmartBinder.castReturn
(Class<?> type) Cast the return value to the given type.SmartBinder.castVirtual
(Class<?> returnType, Class<?> firstArg, Class<?>... restArgs) Cast the incoming arguments to the return, first argument type, and remaining argument types.Collect arguments matching namePattern into an trailing array argument named outName.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.Drop the argument with the given name.SmartBinder.dropFirst()
Drop the first argument.SmartBinder.dropFirst
(int count) Drop the first N arguments.SmartBinder.dropLast()
Drop the last argument.SmartBinder.dropLast
(int count) Drop the last N arguments.Permute all parameters except the names given.SmartBinder.filter
(String pattern, MethodHandle filter) Filter the arguments matching the given pattern using the given filter function.SmartBinder.filterReturn
(SmartHandle filter) Use the given filter function to transform the return value at this point in the binder.SmartBinder.filterReturn
(MethodHandle filter) Use the given filter function to transform the return value at this point in the binder.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.fold
(String newName, MethodHandle function) Pass all arguments to the given function and insert the resulting value as newName into the argument list.SmartBinder.foldStatic
(String newName, Class<?> target, String method) Acquire a public static folding function from the given target class, using the given name.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.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.foldVirtual
(String newName, String method) Acquire a public virtual folding function from the first argument's class, using the given name and Lookup.SmartBinder.foldVoid
(SmartHandle function) Pass all arguments to the given function and drop any result.SmartBinder.foldVoid
(MethodHandle function) Pass all arguments to the given function and drop any result.static SmartBinder
Create a new SmartBinder from the given Signature.static SmartBinder
Create a new SmartBinder from the given types and argument names.static SmartBinder
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.Insert arguments into the argument list at the given index with the given names and values.Insert an argument into the argument list at the given index with the given name and value.Insert an argument into the argument list at the given index with the given name and value.Insert an argument into the argument list at the given index with the given name and value.Insert an argument into the argument list at the given index with the given name and value.Insert an argument into the argument list at the given index with the given name and value.Insert an argument into the argument list at the given index with the given name and value.Insert an argument into the argument list at the given index with the given name and value.Insert an argument into the argument list at the given index with the given name and value.Insert an argument into the argument list at the given index with the given name and value.Insert an argument into the argument list at the given index with the given name and value.Using the argument names and order in the target Signature, permute the arguments in this SmartBinder.Using the argument names and order in the given targetNames, permute the arguments in this SmartBinder.Prepend the given arguments to the argument list, assigning them the given name.Prepend the given argument to the argument list, assigning it the given name.Prepend the given argument to the argument list, assigning it the given name.Prepend the given argument to the argument list, assigning it the given name.Prepend the given argument to the argument list, assigning it the given name.Prepend the given argument to the argument list, assigning it the given name.Prepend the given argument to the argument list, assigning it the given name.Prepend the given argument to the argument list, assigning it the given name.Prepend the given argument to the argument list, assigning it the given name.Prepend the given argument to the argument list, assigning it the given name.Prepend the given argument to the argument list, assigning it the given name.SmartBinder.printSignature()
Print this binder's current signature to System.out.SmartBinder.printSignature
(PrintStream ps) Print this binder's current signature to the give PrintStream.Spread a trailing array into the specified argument types.Spread a trailing array into count number of arguments, using the natural component type for the array.SmartBinder.tryFinally
(MethodHandle post)