- append(boolean) - Method in class com.headius.invokebinder.Binder
-
Append to the argument list the given boolean value.
- append(byte) - Method in class com.headius.invokebinder.Binder
-
Append to the argument list the given byte value.
- append(short) - Method in class com.headius.invokebinder.Binder
-
Append to the argument list the given short value.
- append(char) - Method in class com.headius.invokebinder.Binder
-
Append to the argument list the given char value.
- append(int) - Method in class com.headius.invokebinder.Binder
-
Append to the argument list the given int value.
- append(long) - Method in class com.headius.invokebinder.Binder
-
Append to the argument list the given long value.
- append(float) - Method in class com.headius.invokebinder.Binder
-
Append to the argument list the given float value.
- append(double) - Method in class com.headius.invokebinder.Binder
-
Append to the argument list the given double value.
- append(Object...) - Method in class com.headius.invokebinder.Binder
-
Append to the argument list the given argument value(s).
- append(Class, Object) - Method in class com.headius.invokebinder.Binder
-
Append to the argument list the given argument value with the specified type.
- append(Class[], Object...) - Method in class com.headius.invokebinder.Binder
-
Append to the argument list the given argument values with the specified types.
- append(String, Object) - Method in class com.headius.invokebinder.SmartBinder
-
Append the given argument to the argument list, assigning it the
given name.
- append(String, boolean) - Method in class com.headius.invokebinder.SmartBinder
-
Append the given argument to the argument list, assigning it the
given name.
- append(String, byte) - Method in class com.headius.invokebinder.SmartBinder
-
Append the given argument to the argument list, assigning it the
given name.
- append(String, short) - Method in class com.headius.invokebinder.SmartBinder
-
Append the given argument to the argument list, assigning it the
given name.
- append(String, char) - Method in class com.headius.invokebinder.SmartBinder
-
Append the given argument to the argument list, assigning it the
given name.
- append(String, int) - Method in class com.headius.invokebinder.SmartBinder
-
Append the given argument to the argument list, assigning it the
given name.
- append(String, long) - Method in class com.headius.invokebinder.SmartBinder
-
Append the given argument to the argument list, assigning it the
given name.
- append(String, float) - Method in class com.headius.invokebinder.SmartBinder
-
Append the given argument to the argument list, assigning it the
given name.
- append(String, double) - Method in class com.headius.invokebinder.SmartBinder
-
Append the given argument to the argument list, assigning it the
given name.
- append(String, Class, Object) - Method in class com.headius.invokebinder.SmartBinder
-
Append the given argument to the argument list, assigning it the
given name.
- append(String[], Class[], Object...) - Method in class com.headius.invokebinder.SmartBinder
-
Append the given arguments to the argument list, assigning them the
given names.
- appendArg(String, Class) - Method in class com.headius.invokebinder.Signature
-
Append an argument (name + type) to the signature.
- appendArgs(String[], Class...) - Method in class com.headius.invokebinder.Signature
-
Append an argument (name + type) to the signature.
- apply(int, Object) - Method in class com.headius.invokebinder.SmartHandle
-
Apply an argument into the handle at the given index, returning a new
SmartHandle.
- apply(String, Object) - Method in class com.headius.invokebinder.SmartHandle
-
Apply an argument into the handle at the given name, returning a new
SmartHandle.
- applyLast(Object) - Method in class com.headius.invokebinder.SmartHandle
-
Apply an argument into the handle at the end, returning a new
SmartHandle.
- argCount() - Method in class com.headius.invokebinder.Signature
-
The current argument count.
- argName(int) - Method in class com.headius.invokebinder.Signature
-
Retrieve the name of the argument at the given index.
- argName(int, String) - Method in class com.headius.invokebinder.Signature
-
Set the argument name at the given index.
- argNames() - Method in class com.headius.invokebinder.Signature
-
The current argument names for this signature.
- argOffset(String) - Method in class com.headius.invokebinder.Signature
-
Retrieve the offset of the given argument name in this signature's
arguments.
- argOffsets(String) - Method in class com.headius.invokebinder.Signature
-
Retrieve the offset of the given argument name in this signature's
arguments.
- argType(int) - Method in class com.headius.invokebinder.Signature
-
Get the argument type at the given index.
- argType(int, Class) - Method in class com.headius.invokebinder.Signature
-
Set the argument type at the given index.
- arrayGet() - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to an array element get.
- arrayGet() - Method in class com.headius.invokebinder.SmartBinder
-
Terminate this binder by setting an array element based on the current
signature.
- arraySet() - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to an array element set.
- arraySet() - Method in class com.headius.invokebinder.SmartBinder
-
Terminate this binder by getting an array element based on the current
signature.
- asFold(Class) - Method in class com.headius.invokebinder.Signature
-
Produce a new signature based on this one with a different return type.
- cast(MethodType) - Method in class com.headius.invokebinder.Binder
-
Cast the incoming arguments to the given MethodType.
- cast(Class, Class...) - Method in class com.headius.invokebinder.Binder
-
Cast the incoming arguments to the given MethodType.
- cast(Signature) - Method in class com.headius.invokebinder.SmartBinder
-
Cast the incoming arguments to the types in the given signature.
- cast(Class, Class...) - Method in class com.headius.invokebinder.SmartBinder
-
Cast the incoming arguments to the return and argument types given.
- cast(MethodType) - Method in class com.headius.invokebinder.SmartHandle
-
Create a new SmartHandle that casts arguments from the given type to
the current signature's type, using the same argument names.
- cast(Signature) - Method in class com.headius.invokebinder.SmartHandle
-
Create a new SmartHandle that casts arguments from the given signature to
the current signature's type with the new argument names.
- cast(Class, Class...) - Method in class com.headius.invokebinder.SmartHandle
-
Create a new SmartHandle that casts arguments from the given return
type and argument types to the current signature's type, using the same
argument names.
- Cast - Class in com.headius.invokebinder.transform
-
A casting transform.
- Cast(MethodType) - Constructor for class com.headius.invokebinder.transform.Cast
-
- castArg(String, Class) - Method in class com.headius.invokebinder.SmartBinder
-
Cast the named argument to the given type.
- castReturn(Class) - Method in class com.headius.invokebinder.SmartBinder
-
Cast the return value to the given type.
- castVirtual(Class, Class, Class...) - Method in class com.headius.invokebinder.Binder
-
Cast the incoming arguments to the given MethodType.
- castVirtual(Class, Class, Class...) - Method in class com.headius.invokebinder.SmartBinder
-
Cast the incoming arguments to the return, first argument type, and
remaining argument types.
- Catch - Class in com.headius.invokebinder.transform
-
An exception-handling transform.
- Catch(Class, MethodHandle) - Constructor for class com.headius.invokebinder.transform.Catch
-
- catchException(Class<? extends Throwable>, MethodHandle) - Method in class com.headius.invokebinder.Binder
-
Catch the given exception type from the downstream chain and handle it with the
given function.
- changeReturn(Class) - Method in class com.headius.invokebinder.Signature
-
Create a new signature based on this one with a different return type.
- collect(int, Class) - Method in class com.headius.invokebinder.Binder
-
Box all incoming arguments from the given position onward into the given array type.
- collect(int, int, Class) - Method in class com.headius.invokebinder.Binder
-
Box a range of incoming arguments into the given array type.
- collect(String, String) - Method in class com.headius.invokebinder.Signature
-
Collect sequential arguments matching pattern into an array.
- collect(String, String) - Method in class com.headius.invokebinder.SmartBinder
-
Collect arguments matching namePattern into an trailing array argument
named outName.
- Collect - Class in com.headius.invokebinder.transform
-
An argument-boxing transform with a fixed incoming size.
- Collect(MethodType, int, Class) - Constructor for class com.headius.invokebinder.transform.Collect
-
- Collect(MethodType, int, int, Class) - Constructor for class com.headius.invokebinder.transform.Collect
-
- com.headius.invokebinder - package com.headius.invokebinder
-
- com.headius.invokebinder.transform - package com.headius.invokebinder.transform
-
- constant(Object) - Method in class com.headius.invokebinder.Binder
-
Apply the tranforms, binding them to a constant value that will
propagate back through the chain.
- convert(MethodType) - Method in class com.headius.invokebinder.Binder
-
Convert the incoming arguments to the given MethodType.
- convert(Class, Class...) - Method in class com.headius.invokebinder.Binder
-
Convert the incoming arguments to the given MethodType.
- convert(MethodType) - Method in class com.headius.invokebinder.SmartHandle
-
Create a new SmartHandle that converts arguments from the given type to
the current signature's type, using the same argument names.
- convert(Class, Class...) - Method in class com.headius.invokebinder.SmartHandle
-
Create a new SmartHandle that converts arguments from the given return
type and argument types to the current signature's type, using the same
argument names.
- convert(Signature) - Method in class com.headius.invokebinder.SmartHandle
-
Create a new SmartHandle that converts arguments from the given signature to
the current signature's type with the new argument names.
- Convert - Class in com.headius.invokebinder.transform
-
An argument conversion transform.
- Convert(MethodType) - Constructor for class com.headius.invokebinder.transform.Convert
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.Cast
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.Catch
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.Collect
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.Convert
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.Drop
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.Filter
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.FilterReturn
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.Fold
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.Insert
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.Permute
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.Spread
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.Transform
-
Apply this transform downward from an incoming MethodType, producing
a new type.
- down(MethodType) - Method in class com.headius.invokebinder.transform.TryFinally
-
- down(MethodType) - Method in class com.headius.invokebinder.transform.Varargs
-
- drop(int) - Method in class com.headius.invokebinder.Binder
-
Drop a single argument at the given index.
- drop(int, int) - Method in class com.headius.invokebinder.Binder
-
Drop from the given index a number of arguments.
- drop(String) - Method in class com.headius.invokebinder.SmartBinder
-
Drop the argument with the given name.
- drop(String, String, Class) - Method in class com.headius.invokebinder.SmartHandle
-
Drop an argument name and type from the handle at the given index, returning a new
SmartHandle.
- drop(int, String, Class) - Method in class com.headius.invokebinder.SmartHandle
-
Drop an argument from the handle at the given index, returning a new
SmartHandle.
- Drop - Class in com.headius.invokebinder.transform
-
An argument drop transform.
- Drop(int, Class...) - Constructor for class com.headius.invokebinder.transform.Drop
-
- dropAll() - Method in class com.headius.invokebinder.Binder
-
Drop all arguments from this handle chain
- dropArg(String) - Method in class com.headius.invokebinder.Signature
-
Drops the first argument with the given name.
- dropArg(int) - Method in class com.headius.invokebinder.Signature
-
Drops the argument at the given index.
- dropFirst() - Method in class com.headius.invokebinder.Binder
-
Drop a single argument at the beginning of the argument list.
- dropFirst(int) - Method in class com.headius.invokebinder.Binder
-
Drop from the end of the argument list a number of arguments.
- dropFirst() - Method in class com.headius.invokebinder.Signature
-
Drop the first argument from this signature.
- dropFirst(int) - Method in class com.headius.invokebinder.Signature
-
Drop the specified number of first arguments from this signature.
- dropFirst() - Method in class com.headius.invokebinder.SmartBinder
-
Drop the first argument.
- dropFirst(int) - Method in class com.headius.invokebinder.SmartBinder
-
Drop the first N arguments.
- dropLast() - Method in class com.headius.invokebinder.Binder
-
Drop a single argument at the end of the argument list.
- dropLast(int) - Method in class com.headius.invokebinder.Binder
-
Drop from the end of the argument list a number of arguments.
- dropLast() - Method in class com.headius.invokebinder.Signature
-
Drop the last argument from this signature.
- dropLast(int) - Method in class com.headius.invokebinder.Signature
-
Drop the specified number of last arguments from this signature.
- dropLast() - Method in class com.headius.invokebinder.SmartBinder
-
Drop the last argument.
- dropLast(int) - Method in class com.headius.invokebinder.SmartBinder
-
Drop the last N arguments.
- dropLast(String, Class) - Method in class com.headius.invokebinder.SmartHandle
-
Drop an argument from the handle at the end, returning a new
SmartHandle.
- filter(int, MethodHandle...) - Method in class com.headius.invokebinder.Binder
-
Filter incoming arguments, starting at the given index, replacing each with the
result of calling the associated function in the given list.
- filter(String, MethodHandle) - Method in class com.headius.invokebinder.SmartBinder
-
Filter the arguments matching the given pattern using the given filter function.
- Filter - Class in com.headius.invokebinder.transform
-
An argument-filtering transform.
- Filter(int, MethodHandle...) - Constructor for class com.headius.invokebinder.transform.Filter
-
- filterReturn(MethodHandle) - Method in class com.headius.invokebinder.Binder
-
Filter return value, using a function that produces the current return type
from another type.
- filterReturn(MethodHandle) - Method in class com.headius.invokebinder.SmartBinder
-
Use the given filter function to transform the return value at this
point in the binder.
- filterReturn(SmartHandle) - Method in class com.headius.invokebinder.SmartBinder
-
Use the given filter function to transform the return value at this
point in the binder.
- FilterReturn - Class in com.headius.invokebinder.transform
-
An return-filtering transform.
- FilterReturn(MethodHandle) - Constructor for class com.headius.invokebinder.transform.FilterReturn
-
- findStaticQuiet(MethodHandles.Lookup, Class, String, Signature) - Static method in class com.headius.invokebinder.SmartHandle
-
Create a new SmartHandle by performing a lookup on the given target class
for the given method name with the given signature.
- firstArgName() - Method in class com.headius.invokebinder.Signature
-
Get the first argument name.
- firstArgType() - Method in class com.headius.invokebinder.Signature
-
Get the first argument type.
- fold(MethodHandle) - Method in class com.headius.invokebinder.Binder
-
Process the incoming arguments using the given handle, inserting the result
as the first argument.
- fold(String, MethodHandle) - Method in class com.headius.invokebinder.SmartBinder
-
Pass all arguments to the given function and insert the resulting value
as newName into the argument list.
- fold(String, SmartHandle) - Method in class com.headius.invokebinder.SmartBinder
-
Pass all arguments to the given function and insert the resulting value
as newName into the argument list.
- Fold - Class in com.headius.invokebinder.transform
-
An argument-folding transform.
- Fold(MethodHandle) - Constructor for class com.headius.invokebinder.transform.Fold
-
- foldStatic(MethodHandles.Lookup, Class, String) - Method in class com.headius.invokebinder.Binder
-
Process the incoming arguments by calling the given static method on the
given class, inserting the result as the first argument.
- foldStatic(Class, String) - Method in class com.headius.invokebinder.Binder
-
Process the incoming arguments by calling the given static method on the
given class, inserting the result as the first argument.
- foldStatic(String, MethodHandles.Lookup, Class, String) - Method in class com.headius.invokebinder.SmartBinder
-
Acquire a static folding function from the given target class, using the
given name and Lookup.
- foldStatic(String, Class, String) - Method in class com.headius.invokebinder.SmartBinder
-
Acquire a public static folding function from the given target class,
using the given name.
- foldVirtual(MethodHandles.Lookup, String) - Method in class com.headius.invokebinder.Binder
-
Process the incoming arguments by calling the given method on the first
argument, inserting the result as the first argument.
- foldVirtual(String) - Method in class com.headius.invokebinder.Binder
-
Process the incoming arguments by calling the given method on the first
argument, inserting the result as the first argument.
- foldVirtual(String, MethodHandles.Lookup, String) - Method in class com.headius.invokebinder.SmartBinder
-
Acquire a virtual folding function from the first argument's class,
using the given name and Lookup.
- foldVirtual(String, String) - Method in class com.headius.invokebinder.SmartBinder
-
Acquire a public virtual folding function from the first argument's
class, using the given name and Lookup.
- foldVoid(MethodHandle) - Method in class com.headius.invokebinder.Binder
-
- foldVoid(MethodHandle) - Method in class com.headius.invokebinder.SmartBinder
-
Pass all arguments to the given function and drop any result.
- foldVoid(SmartHandle) - Method in class com.headius.invokebinder.SmartBinder
-
Pass all arguments to the given function and drop any result.
- from(MethodType) - Static method in class com.headius.invokebinder.Binder
-
Construct a new Binder, starting from a given MethodType.
- from(MethodHandles.Lookup, MethodType) - Static method in class com.headius.invokebinder.Binder
-
Construct a new Binder, starting from a given MethodType.
- from(Class) - Static method in class com.headius.invokebinder.Binder
-
Construct a new Binder using a return type.
- from(MethodHandles.Lookup, Class) - Static method in class com.headius.invokebinder.Binder
-
Construct a new Binder using a return type.
- from(Class, Class[]) - Static method in class com.headius.invokebinder.Binder
-
Construct a new Binder using a return type and argument types.
- from(MethodHandles.Lookup, Class, Class[]) - Static method in class com.headius.invokebinder.Binder
-
Construct a new Binder using a return type and argument types.
- from(Class, Class, Class...) - Static method in class com.headius.invokebinder.Binder
-
Construct a new Binder using a return type and argument types.
- from(MethodHandles.Lookup, Class, Class, Class...) - Static method in class com.headius.invokebinder.Binder
-
Construct a new Binder using a return type and argument types.
- from(Binder) - Static method in class com.headius.invokebinder.Binder
-
Construct a new Binder, starting from a given invokebinder.
- from(MethodHandles.Lookup, Binder) - Static method in class com.headius.invokebinder.Binder
-
Construct a new Binder, starting from a given invokebinder.
- from(Class, Class[], String...) - Static method in class com.headius.invokebinder.Signature
-
Create a new signature based on the given return value, argument types, and argument names
- from(Signature) - Static method in class com.headius.invokebinder.SmartBinder
-
Create a new SmartBinder from the given Signature.
- from(Class, String[], Class...) - Static method in class com.headius.invokebinder.SmartBinder
-
Create a new SmartBinder from the given types and argument names.
- from(Class, String, Class) - Static method in class com.headius.invokebinder.SmartBinder
-
Create a new SmartBinder with from the given types and argument name.
- from(MethodHandles.Lookup, Signature) - Static method in class com.headius.invokebinder.SmartBinder
-
Create a new SmartBinder from the given Signature, using the given
Lookup for any handle lookups.
- from(MethodHandles.Lookup, Class, String[], Class...) - Static method in class com.headius.invokebinder.SmartBinder
-
Create a new SmartBinder from the given types and argument names,
using the given Lookup for any handle lookups.
- from(MethodHandles.Lookup, Class, String, Class) - Static method in class com.headius.invokebinder.SmartBinder
-
Create a new SmartBinder from the given types and argument name,
using the given Lookup for any handle lookups.
- from(Signature, MethodHandle) - Static method in class com.headius.invokebinder.SmartHandle
-
Create a new SmartHandle from the given Signature and MethodHandle.
- identity() - Method in class com.headius.invokebinder.Binder
-
Apply the tranforms, binding them to a handle that will simply return its sole
argument as its return value.
- identity() - Method in class com.headius.invokebinder.SmartBinder
-
Terminate this binder by returning its sole remaining argument.
- insert(int, boolean) - Method in class com.headius.invokebinder.Binder
-
Insert at the given index the given boolean value.
- insert(int, byte) - Method in class com.headius.invokebinder.Binder
-
Insert at the given index the given byte value.
- insert(int, short) - Method in class com.headius.invokebinder.Binder
-
Insert at the given index the given short value.
- insert(int, char) - Method in class com.headius.invokebinder.Binder
-
Insert at the given index the given char value.
- insert(int, int) - Method in class com.headius.invokebinder.Binder
-
Insert at the given index the given int value.
- insert(int, long) - Method in class com.headius.invokebinder.Binder
-
Insert at the given index the given long value.
- insert(int, float) - Method in class com.headius.invokebinder.Binder
-
Insert at the given index the given float value.
- insert(int, double) - Method in class com.headius.invokebinder.Binder
-
Insert at the given index the given double value.
- insert(int, Object...) - Method in class com.headius.invokebinder.Binder
-
Insert at the given index the given argument value(s).
- insert(int, Class, Object) - Method in class com.headius.invokebinder.Binder
-
Insert at the given index the given argument value.
- insert(int, Class[], Object...) - Method in class com.headius.invokebinder.Binder
-
Insert at the given index the given argument value(s).
- insert(int, String, Object) - Method in class com.headius.invokebinder.SmartBinder
-
Insert an argument into the argument list at the given index with the
given name and value.
- insert(int, String, boolean) - Method in class com.headius.invokebinder.SmartBinder
-
Insert an argument into the argument list at the given index with the
given name and value.
- insert(int, String, byte) - Method in class com.headius.invokebinder.SmartBinder
-
Insert an argument into the argument list at the given index with the
given name and value.
- insert(int, String, short) - Method in class com.headius.invokebinder.SmartBinder
-
Insert an argument into the argument list at the given index with the
given name and value.
- insert(int, String, char) - Method in class com.headius.invokebinder.SmartBinder
-
Insert an argument into the argument list at the given index with the
given name and value.
- insert(int, String, int) - Method in class com.headius.invokebinder.SmartBinder
-
Insert an argument into the argument list at the given index with the
given name and value.
- insert(int, String, long) - Method in class com.headius.invokebinder.SmartBinder
-
Insert an argument into the argument list at the given index with the
given name and value.
- insert(int, String, float) - Method in class com.headius.invokebinder.SmartBinder
-
Insert an argument into the argument list at the given index with the
given name and value.
- insert(int, String, double) - Method in class com.headius.invokebinder.SmartBinder
-
Insert an argument into the argument list at the given index with the
given name and value.
- insert(int, String, Class, Object) - Method in class com.headius.invokebinder.SmartBinder
-
Insert an argument into the argument list at the given index with the
given name and value.
- insert(int, String[], Class[], Object...) - Method in class com.headius.invokebinder.SmartBinder
-
Insert arguments into the argument list at the given index with the
given names and values.
- Insert - Class in com.headius.invokebinder.transform
-
An argument insertion transform.
- Insert(int, Object...) - Constructor for class com.headius.invokebinder.transform.Insert
-
- Insert(int, boolean) - Constructor for class com.headius.invokebinder.transform.Insert
-
- Insert(int, byte) - Constructor for class com.headius.invokebinder.transform.Insert
-
- Insert(int, short) - Constructor for class com.headius.invokebinder.transform.Insert
-
- Insert(int, char) - Constructor for class com.headius.invokebinder.transform.Insert
-
- Insert(int, int) - Constructor for class com.headius.invokebinder.transform.Insert
-
- Insert(int, long) - Constructor for class com.headius.invokebinder.transform.Insert
-
- Insert(int, float) - Constructor for class com.headius.invokebinder.transform.Insert
-
- Insert(int, double) - Constructor for class com.headius.invokebinder.transform.Insert
-
- Insert(int, Class[], Object...) - Constructor for class com.headius.invokebinder.transform.Insert
-
- insertArg(int, String, Class) - Method in class com.headius.invokebinder.Signature
-
Insert an argument (name + type) into the signature.
- insertArg(String, String, Class) - Method in class com.headius.invokebinder.Signature
-
Insert an argument (name + type) into the signature before the argument
with the given name.
- insertArgs(int, String[], Class...) - Method in class com.headius.invokebinder.Signature
-
Insert arguments (names + types) into the signature.
- insertArgs(String, String[], Class...) - Method in class com.headius.invokebinder.Signature
-
Insert arguments (names + types) into the signature before the argument
with the given name.
- InvalidTransformException - Exception in com.headius.invokebinder
-
Exception raised when a Binder transform is not valid for the current
signature.
- InvalidTransformException(String) - Constructor for exception com.headius.invokebinder.InvalidTransformException
-
- InvalidTransformException(Exception) - Constructor for exception com.headius.invokebinder.InvalidTransformException
-
- invoke(MethodHandle) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms with the target method handle as the final
endpoint.
- invoke(MethodHandles.Lookup, Method) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to a static method specified
using the end signature plus the given class and method.
- invoke(SmartHandle) - Method in class com.headius.invokebinder.SmartBinder
-
Terminate this binder by invoking the given target handle.
- invoke(MethodHandle) - Method in class com.headius.invokebinder.SmartBinder
-
Terminate this binder by invoking the given target handle.
- invokeConstructor(MethodHandles.Lookup, Class) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to a constructor specified
using the end signature plus the given class.
- invokeConstructorQuiet(MethodHandles.Lookup, Class) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to a constructor specified
using the end signature plus the given class.
- invokeQuiet(MethodHandles.Lookup, Method) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to a static method specified
using the end signature plus the given class and method.
- invoker() - Method in class com.headius.invokebinder.Binder
-
Produce a MethodHandle that invokes its leading MethodHandle argument
with the remaining arguments, returning the result.
- invoker() - Method in class com.headius.invokebinder.SmartBinder
-
Produce a SmartHandle from this binder that invokes a leading
MethodHandle argument with the remaining arguments.
- invokeSpecial(MethodHandles.Lookup, String, Class) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to a special method specified
using the end signature plus the given class and name.
- invokeSpecialQuiet(MethodHandles.Lookup, String, Class) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to a special method specified
using the end signature plus the given class and name.
- invokeStatic(MethodHandles.Lookup, Class, String) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to a static method specified
using the end signature plus the given class and name.
- invokeStatic(MethodHandles.Lookup, Class, String) - Method in class com.headius.invokebinder.SmartBinder
-
Terminate this binder by looking up the named static method on the
given target type.
- invokeStaticQuiet(MethodHandles.Lookup, Class, String) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to a static method specified
using the end signature plus the given class and name.
- invokeStaticQuiet(MethodHandles.Lookup, Class, String) - Method in class com.headius.invokebinder.SmartBinder
-
Terminate this binder by looking up the named static method on the
given target type.
- invokeVirtual(MethodHandles.Lookup, String) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to a virtual method specified
using the end signature plus the given class and name.
- invokeVirtual(MethodHandles.Lookup, String) - Method in class com.headius.invokebinder.SmartBinder
-
Terminate this binder by looking up the named virtual method on the
first argument's type.
- invokeVirtualQuiet(MethodHandles.Lookup, String) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to a virtual method specified
using the end signature plus the given class and name.
- invokeVirtualQuiet(MethodHandles.Lookup, String) - Method in class com.headius.invokebinder.SmartBinder
-
Terminate this binder by looking up the named virtual method on the
first argument's type.
- permute(int...) - Method in class com.headius.invokebinder.Binder
-
Permute the incoming arguments to a new sequence specified by the given values.
- permute(String...) - Method in class com.headius.invokebinder.Signature
-
Create a new signature containing the same return value as this one, but
only the specified arguments.
- permute(Signature) - Method in class com.headius.invokebinder.SmartBinder
-
Using the argument names and order in the target Signature, permute the
arguments in this SmartBinder.
- permute(String...) - Method in class com.headius.invokebinder.SmartBinder
-
Using the argument names and order in the given targetNames, permute the
arguments in this SmartBinder.
- Permute - Class in com.headius.invokebinder.transform
-
A permutation transform.
- Permute(MethodType, int...) - Constructor for class com.headius.invokebinder.transform.Permute
-
- permuteWith(MethodHandle, String...) - Method in class com.headius.invokebinder.Signature
-
Produce a method handle permuting the arguments in this signature using
the given permute arguments and targeting the given java.lang.invoke.MethodHandle.
- permuteWith(SmartHandle) - Method in class com.headius.invokebinder.Signature
-
Produce a new SmartHandle by permuting this Signature's arguments to the
Signature of a target SmartHandle.
- prepend(boolean) - Method in class com.headius.invokebinder.Binder
-
Prepend to the argument list the given boolean value.
- prepend(byte) - Method in class com.headius.invokebinder.Binder
-
Prepend to the argument list the given byte value.
- prepend(short) - Method in class com.headius.invokebinder.Binder
-
Prepend to the argument list the given short value.
- prepend(char) - Method in class com.headius.invokebinder.Binder
-
Prepend to the argument list the given char value.
- prepend(int) - Method in class com.headius.invokebinder.Binder
-
Prepend to the argument list the given int value.
- prepend(long) - Method in class com.headius.invokebinder.Binder
-
Prepend to the argument list the given long value.
- prepend(float) - Method in class com.headius.invokebinder.Binder
-
Prepend to the argument list the given float value.
- prepend(double) - Method in class com.headius.invokebinder.Binder
-
Prepend to the argument list the given double value.
- prepend(Object...) - Method in class com.headius.invokebinder.Binder
-
Prepend to the argument list the given argument value(s).
- prepend(Class, Object) - Method in class com.headius.invokebinder.Binder
-
Prepend to the argument list the given argument value with the specified type
- prepend(Class[], Object...) - Method in class com.headius.invokebinder.Binder
-
Prepend to the argument list the given argument values with the specified types.
- prepend(String, Object) - Method in class com.headius.invokebinder.SmartBinder
-
Prepend the given argument to the argument list, assigning it the
given name.
- prepend(String, boolean) - Method in class com.headius.invokebinder.SmartBinder
-
Prepend the given argument to the argument list, assigning it the
given name.
- prepend(String, byte) - Method in class com.headius.invokebinder.SmartBinder
-
Prepend the given argument to the argument list, assigning it the
given name.
- prepend(String, short) - Method in class com.headius.invokebinder.SmartBinder
-
Prepend the given argument to the argument list, assigning it the
given name.
- prepend(String, char) - Method in class com.headius.invokebinder.SmartBinder
-
Prepend the given argument to the argument list, assigning it the
given name.
- prepend(String, int) - Method in class com.headius.invokebinder.SmartBinder
-
Prepend the given argument to the argument list, assigning it the
given name.
- prepend(String, long) - Method in class com.headius.invokebinder.SmartBinder
-
Prepend the given argument to the argument list, assigning it the
given name.
- prepend(String, float) - Method in class com.headius.invokebinder.SmartBinder
-
Prepend the given argument to the argument list, assigning it the
given name.
- prepend(String, double) - Method in class com.headius.invokebinder.SmartBinder
-
Prepend the given argument to the argument list, assigning it the
given name.
- prepend(String, Class, Object) - Method in class com.headius.invokebinder.SmartBinder
-
Prepend the given argument to the argument list, assigning it the
given name.
- prepend(String[], Class[], Object...) - Method in class com.headius.invokebinder.SmartBinder
-
Prepend the given arguments to the argument list, assigning them the
given name.
- prependArg(String, Class) - Method in class com.headius.invokebinder.Signature
-
Prepend an argument (name + type) to the signature.
- prependArgs(String[], Class...) - Method in class com.headius.invokebinder.Signature
-
Prepend arguments (names + types) to the signature.
- printSignature() - Method in class com.headius.invokebinder.SmartBinder
-
Print this binder's current signature to stdout.
- printType(PrintStream) - Method in class com.headius.invokebinder.Binder
-
Println the current MethodType to the given stream.
- printType() - Method in class com.headius.invokebinder.Binder
-
Println the current MethodType to stdout.
- setField(MethodHandles.Lookup, String) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to an object field assignment specified
using the end signature plus the given class and name.
- setFieldQuiet(MethodHandles.Lookup, String) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to an object field assignment specified
using the end signature plus the given class and name.
- setStatic(MethodHandles.Lookup, Class, String) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to an object field assignment specified
using the end signature plus the given class and name.
- setStaticQuiet(MethodHandles.Lookup, Class, String) - Method in class com.headius.invokebinder.Binder
-
Apply the chain of transforms and bind them to an object field assignment specified
using the end signature plus the given class and name.
- Signature - Class in com.headius.invokebinder
-
Signature represents a series of method arguments plus their symbolic names.
- signature() - Method in class com.headius.invokebinder.SmartBinder
-
Get the current Signature for this binder.
- signature() - Method in class com.headius.invokebinder.SmartHandle
-
Get the Signature of this SmartHandle.
- SmartBinder - Class in com.headius.invokebinder
-
Maintains both a Binder, for building a series of transformations, and a
current Signature that maps symbolic names to arguments.
- SmartHandle - Class in com.headius.invokebinder
-
A tuple of a Signature and a java.lang.invoke.MethodHandle, providing
features of both plus a number of MethodHandles.* methods in a simpler form.
- spread(Class...) - Method in class com.headius.invokebinder.Binder
-
Spread a trailing array argument into the specified argument types.
- spread(int) - Method in class com.headius.invokebinder.Binder
-
Spread a trailing array argument into the given number of arguments of
the type of the array.
- spread(String[], Class...) - Method in class com.headius.invokebinder.Signature
-
Spread the trailing [] argument into its component type assigning given names.
- spread(String...) - Method in class com.headius.invokebinder.Signature
-
Spread the trailing [] argument into its component type assigning given names.
- spread(String, int) - Method in class com.headius.invokebinder.Signature
-
Spread the trailing [] argument into its component type assigning given names.
- spread(String[], Class...) - Method in class com.headius.invokebinder.SmartBinder
-
Spread a trailing array into the specified argument types.
- spread(String, int) - Method in class com.headius.invokebinder.SmartBinder
-
Spread a trailing array into count number of arguments, using the
natural component type for the array.
- Spread - Class in com.headius.invokebinder.transform
-
An array-spreading transform.
- Spread(MethodType, Class...) - Constructor for class com.headius.invokebinder.transform.Spread
-
- throwException() - Method in class com.headius.invokebinder.Binder
-
Throw the current signature's sole Throwable argument.
- to(Binder) - Method in class com.headius.invokebinder.Binder
-
Join this binder to an existing one by applying its transformations after
this one.
- to(Signature) - Method in class com.headius.invokebinder.Signature
-
Generate an array of argument offsets based on permuting this signature
to the given signature.
- to(String...) - Method in class com.headius.invokebinder.Signature
-
Generate an array of argument offsets based on permuting this signature
to the given signature.
- toString() - Method in class com.headius.invokebinder.Signature
-
Produce a human-readable representation of this signature.
- toString() - Method in class com.headius.invokebinder.SmartHandle
-
A human-readable String representation of this SamrtHandle.
- toString() - Method in class com.headius.invokebinder.transform.Cast
-
- toString() - Method in class com.headius.invokebinder.transform.Catch
-
- toString() - Method in class com.headius.invokebinder.transform.Collect
-
- toString() - Method in class com.headius.invokebinder.transform.Convert
-
- toString() - Method in class com.headius.invokebinder.transform.Drop
-
- toString() - Method in class com.headius.invokebinder.transform.Filter
-
- toString() - Method in class com.headius.invokebinder.transform.FilterReturn
-
- toString() - Method in class com.headius.invokebinder.transform.Fold
-
- toString() - Method in class com.headius.invokebinder.transform.Insert
-
- toString() - Method in class com.headius.invokebinder.transform.Permute
-
- toString() - Method in class com.headius.invokebinder.transform.Spread
-
- toString() - Method in class com.headius.invokebinder.transform.Transform
-
Return a string representation of this transform.
- toString() - Method in class com.headius.invokebinder.transform.TryFinally
-
- toString() - Method in class com.headius.invokebinder.transform.Varargs
-
- Transform - Class in com.headius.invokebinder.transform
-
Abstract reprensentation of some handle transform.
- Transform() - Constructor for class com.headius.invokebinder.transform.Transform
-
- tryFinally(MethodHandle) - Method in class com.headius.invokebinder.Binder
-
Apply transforms to run the given handle's logic as a "finally" block.
- TryFinally - Class in com.headius.invokebinder.transform
-
An try-finally transform.
- TryFinally(MethodHandle) - Constructor for class com.headius.invokebinder.transform.TryFinally
-
- type() - Method in class com.headius.invokebinder.Binder
-
The current MethodType, were the handle chain to terminate at this point.
- type() - Method in class com.headius.invokebinder.Signature
-
The current java.lang.invoke.MethodType for this Signature.