Skip navigation links
A B C D E F G H I L N P R S T U V W 

A

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(s).
append(String, Object) - Method in class com.headius.invokebinder.SmartBinder
 
append(String, boolean) - Method in class com.headius.invokebinder.SmartBinder
 
append(String, byte) - Method in class com.headius.invokebinder.SmartBinder
 
append(String, short) - Method in class com.headius.invokebinder.SmartBinder
 
append(String, char) - Method in class com.headius.invokebinder.SmartBinder
 
append(String, int) - Method in class com.headius.invokebinder.SmartBinder
 
append(String, long) - Method in class com.headius.invokebinder.SmartBinder
 
append(String, float) - Method in class com.headius.invokebinder.SmartBinder
 
append(String, double) - Method in class com.headius.invokebinder.SmartBinder
 
append(String[], Class[], Object...) - Method in class com.headius.invokebinder.SmartBinder
 
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.
argName(int) - Method in class com.headius.invokebinder.Signature
Retrieve the name of the argument 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.
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
 
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
 
asFold(Class) - Method in class com.headius.invokebinder.Signature
Produce a new signature based on this one with a different return type.

B

Binder - Class in com.headius.invokebinder
The Binder class provides a DSL for building a chain of MethodHandles using various of the adaptations provided by java.lang.invoke.MethodHandles.
Binder(MethodType) - Constructor for class com.headius.invokebinder.Binder
Construct a new Binder, starting from a given MethodType.
Binder(MethodHandles.Lookup, MethodType) - Constructor for class com.headius.invokebinder.Binder
Construct a new Binder, starting from a given Lookup and MethodType.
Binder(Binder) - Constructor for class com.headius.invokebinder.Binder
Construct a new Binder using the given invokebinder.
Binder(MethodHandles.Lookup, Binder) - Constructor for class com.headius.invokebinder.Binder
Construct a new Binder using the given Lookup and invokebinder.
Binder(Binder, Transform) - Constructor for class com.headius.invokebinder.Binder
Construct a new Binder using the given invokebinder plus an additional transform
Binder(Binder, Transform, MethodType) - Constructor for class com.headius.invokebinder.Binder
Construct a new Binder using the given invokebinder plus an additional transform and current type
binder() - Method in class com.headius.invokebinder.SmartBinder
 
bindTo(Object) - Method in class com.headius.invokebinder.SmartHandle
Bind the first argument of this SmartHandle to the given object, returning a new adapted handle.
branch(MethodHandle, MethodHandle, MethodHandle) - Method in class com.headius.invokebinder.Binder
Apply the chain of transforms and bind them to a boolean branch as from java.lang.invoke.MethodHandles.guardWithTest.

C

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(Class, Class...) - Method in class com.headius.invokebinder.SmartBinder
 
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
 
castReturn(Class) - Method in class com.headius.invokebinder.SmartBinder
 
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 - 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
 
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
 

D

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, String, Class) - Method in class com.headius.invokebinder.SmartHandle
Insert an argument into the handle at the given index, returning a new SmartHandle.
drop(int, String, Class) - Method in class com.headius.invokebinder.SmartHandle
Insert an argument into 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
 
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.Signature
Drop the first argument from this signature.
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(String, Class) - Method in class com.headius.invokebinder.SmartHandle
Insert an argument into the handle at the given index, returning a new SmartHandle.

E

exclude(String...) - Method in class com.headius.invokebinder.Signature
Create a new signature containing the same return value as this one, but omitting the specified arguments.
exclude(String...) - Method in class com.headius.invokebinder.SmartBinder
Permute all parameters except the names given.

F

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 - 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
 
filterReturn(SmartHandle) - Method in class com.headius.invokebinder.SmartBinder
 
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
 
fold(String, SmartHandle) - Method in class com.headius.invokebinder.SmartBinder
 
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
 
foldStatic(String, Class, String) - Method in class com.headius.invokebinder.SmartBinder
 
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
 
foldVirtual(String, String) - Method in class com.headius.invokebinder.SmartBinder
 
foldVoid(MethodHandle) - Method in class com.headius.invokebinder.Binder
 
foldVoid(MethodHandle) - Method in class com.headius.invokebinder.SmartBinder
 
foldVoid(SmartHandle) - Method in class com.headius.invokebinder.SmartBinder
 
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(Signature) - Static method in class com.headius.invokebinder.SmartBinder
 
from(MethodHandles.Lookup, Signature) - Static method in class com.headius.invokebinder.SmartBinder
 
from(Signature, MethodHandle) - Static method in class com.headius.invokebinder.SmartHandle
Create a new SmartHandle from the given Signature and MethodHandle.

G

getField(MethodHandles.Lookup, String) - Method in class com.headius.invokebinder.Binder
Apply the chain of transforms and bind them to an object field retrieval specified using the end signature plus the given class and name.
getFieldQuiet(MethodHandles.Lookup, String) - Method in class com.headius.invokebinder.Binder
Apply the chain of transforms and bind them to an object field retrieval specified using the end signature plus the given class and name.
getStatic(MethodHandles.Lookup, Class, String) - Method in class com.headius.invokebinder.Binder
Apply the chain of transforms and bind them to a static field retrieval specified using the end signature plus the given class and name.
getStaticQuiet(MethodHandles.Lookup, Class, String) - Method in class com.headius.invokebinder.Binder
Apply the chain of transforms and bind them to a static field retrieval specified using the end signature plus the given class and name.
guard(MethodHandle, MethodHandle) - Method in class com.headius.invokebinder.SmartHandle
Use this SmartHandle as a test to guard target and fallback handles.
guard(SmartHandle, SmartHandle) - Method in class com.headius.invokebinder.SmartHandle
Use this SmartHandle as a test to guard target and fallback handles.

H

handle() - Method in class com.headius.invokebinder.SmartHandle
Get the MethodHandle of this SmartHandle.

I

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.
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(s).
insert(int, String, Object) - Method in class com.headius.invokebinder.SmartBinder
 
insert(int, String, boolean) - Method in class com.headius.invokebinder.SmartBinder
 
insert(int, String, byte) - Method in class com.headius.invokebinder.SmartBinder
 
insert(int, String, short) - Method in class com.headius.invokebinder.SmartBinder
 
insert(int, String, char) - Method in class com.headius.invokebinder.SmartBinder
 
insert(int, String, int) - Method in class com.headius.invokebinder.SmartBinder
 
insert(int, String, long) - Method in class com.headius.invokebinder.SmartBinder
 
insert(int, String, float) - Method in class com.headius.invokebinder.SmartBinder
 
insert(int, String, double) - Method in class com.headius.invokebinder.SmartBinder
 
insert(int, String[], Class[], Object...) - Method in class com.headius.invokebinder.SmartBinder
 
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
 
invoke(MethodHandle) - Method in class com.headius.invokebinder.SmartBinder
 
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.
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
 
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.
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
 

L

lastArgName() - Method in class com.headius.invokebinder.Signature
Get the last argument name.
lastArgType() - Method in class com.headius.invokebinder.Signature
Get the last argument type.
logType() - Method in class com.headius.invokebinder.Binder
Log the current MethodType as info.

N

nop() - Method in class com.headius.invokebinder.Binder
Apply all transforms to an endpoint that does absolutely nothing.

P

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
 
permute(String...) - Method in class com.headius.invokebinder.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(String, Object) - Method in class com.headius.invokebinder.SmartBinder
 
prepend(String, boolean) - Method in class com.headius.invokebinder.SmartBinder
 
prepend(String, byte) - Method in class com.headius.invokebinder.SmartBinder
 
prepend(String, short) - Method in class com.headius.invokebinder.SmartBinder
 
prepend(String, char) - Method in class com.headius.invokebinder.SmartBinder
 
prepend(String, int) - Method in class com.headius.invokebinder.SmartBinder
 
prepend(String, long) - Method in class com.headius.invokebinder.SmartBinder
 
prepend(String, float) - Method in class com.headius.invokebinder.SmartBinder
 
prepend(String, double) - Method in class com.headius.invokebinder.SmartBinder
 
prepend(String[], Class[], Object...) - Method in class com.headius.invokebinder.SmartBinder
 
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 an argument (name + type) to the signature.
printSignature() - Method in class com.headius.invokebinder.SmartBinder
 
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.

R

replaceArg(String, String, Class) - Method in class com.headius.invokebinder.Signature
Replace the named argument with a new name and type.
returning(Class) - Static method in class com.headius.invokebinder.Signature
Create a new signature returning the given type.
returnValue(Class, Object) - Method in class com.headius.invokebinder.SmartHandle
Replace the return value with the given value, performing no other processing of the original value.

S

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
 
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 the given argument types
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 Object[] into the specified argument types.
spread(String, int) - Method in class com.headius.invokebinder.SmartBinder
 
Spread - Class in com.headius.invokebinder.transform
An array-spreading transform.
Spread(MethodType, Class...) - Constructor for class com.headius.invokebinder.transform.Spread
 

T

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.

U

up(MethodHandle) - Method in class com.headius.invokebinder.transform.Cast
 
up(MethodHandle) - Method in class com.headius.invokebinder.transform.Catch
 
up(MethodHandle) - Method in class com.headius.invokebinder.transform.Collect
 
up(MethodHandle) - Method in class com.headius.invokebinder.transform.Convert
 
up(MethodHandle) - Method in class com.headius.invokebinder.transform.Drop
 
up(MethodHandle) - Method in class com.headius.invokebinder.transform.Filter
 
up(MethodHandle) - Method in class com.headius.invokebinder.transform.FilterReturn
 
up(MethodHandle) - Method in class com.headius.invokebinder.transform.Fold
 
up(MethodHandle) - Method in class com.headius.invokebinder.transform.Insert
 
up(MethodHandle) - Method in class com.headius.invokebinder.transform.Permute
 
up(MethodHandle) - Method in class com.headius.invokebinder.transform.Spread
 
up(MethodHandle) - Method in class com.headius.invokebinder.transform.Transform
Apply this transform upward from the given MethodHandle, producing a new handle.
up(MethodHandle) - Method in class com.headius.invokebinder.transform.TryFinally
 
up(MethodHandle) - Method in class com.headius.invokebinder.transform.Varargs
 

V

varargs(int, Class) - Method in class com.headius.invokebinder.Binder
Box all incoming arguments from the given position onward into the given array type.
Varargs - Class in com.headius.invokebinder.transform
An argument-boxing transform.
Varargs(MethodType, int, Class) - Constructor for class com.headius.invokebinder.transform.Varargs
 

W

withLookup(MethodHandles.Lookup) - Method in class com.headius.invokebinder.Binder
Use an alternate java.lang.invoke.MethodHandles.Lookup as the default for any direct handles created.
A B C D E F G H I L N P R S T U V W 
Skip navigation links

Copyright © 2015. All rights reserved.