Uses of Class
com.headius.invokebinder.Binder

Packages that use Binder
Package
Description
 
  • Uses of Binder in com.headius.invokebinder

    Fields in com.headius.invokebinder declared as Binder
    Modifier and Type
    Field
    Description
    private final Binder
    SmartBinder.binder
     
    Methods in com.headius.invokebinder that return Binder
    Modifier and Type
    Method
    Description
    Binder.append(boolean value)
    Append to the argument list the given boolean value.
    Binder.append(byte value)
    Append to the argument list the given byte value.
    Binder.append(char value)
    Append to the argument list the given char value.
    Binder.append(double value)
    Append to the argument list the given double value.
    Binder.append(float value)
    Append to the argument list the given float value.
    Binder.append(int value)
    Append to the argument list the given int value.
    Binder.append(long value)
    Append to the argument list the given long value.
    Binder.append(short value)
    Append to the argument list the given short value.
    Binder.append(Class[] types, Object... values)
    Append to the argument list the given argument value(s).
    Binder.append(Object... values)
    Append to the argument list the given argument value(s).
    SmartBinder.binder()
     
    Binder.cast(Class returnType, Class... argTypes)
    Cast the incoming arguments to the given MethodType.
    Binder.cast(MethodType type)
    Cast the incoming arguments to the given MethodType.
    Binder.catchException(Class<? extends Throwable> throwable, MethodHandle function)
    Catch the given exception type from the downstream chain and handle it with the given function.
    Binder.collect(int index, Class type)
    Box all incoming arguments from the given position onward into the given array type.
    Binder.convert(Class returnType, Class... argTypes)
    Convert the incoming arguments to the given MethodType.
    Binder.convert(MethodType target)
    Convert the incoming arguments to the given MethodType.
    Binder.drop(int index)
    Drop a single argument at the given index.
    Binder.drop(int index, int count)
    Drop from the given index a number of arguments.
    Binder.dropLast()
    Drop a single argument at the end of the argument list.
    Binder.dropLast(int count)
    Drop from the end of the argument list a number of arguments.
    Binder.filter(int index, MethodHandle... functions)
    Filter incoming arguments, starting at the given index, replacing each with the result of calling the associated function in the given list.
    Binder.filterReturn(MethodHandle function)
    Filter return value, using a function that produces the current return type from another type.
    Binder.fold(MethodHandle function)
    Process the incoming arguments using the given handle, inserting the result as the first argument.
    Binder.foldStatic(Class target, String method)
    Process the incoming arguments by calling the given static method on the given class, inserting the result as the first argument.
    Binder.foldStatic(MethodHandles.Lookup lookup, Class target, String method)
    Process the incoming arguments by calling the given static method on the given class, inserting the result as the first argument.
    Binder.foldVirtual(MethodHandles.Lookup lookup, String method)
    Process the incoming arguments by calling the given method on the first argument, inserting the result as the first argument.
    Binder.foldVirtual(String method)
    Process the incoming arguments by calling the given method on the first argument, inserting the result as the first argument.
    Binder.foldVoid(MethodHandle function)
     
    static Binder
    Binder.from(Binder start)
    Construct a new Binder, starting from a given invokebinder.
    static Binder
    Binder.from(Class returnType)
    Construct a new Binder using a return type.
    static Binder
    Binder.from(Class returnType, Class[] argTypes)
    Construct a new Binder using a return type and argument types.
    static Binder
    Binder.from(Class returnType, Class argType0, Class... argTypes)
    Construct a new Binder using a return type and argument types.
    static Binder
    Binder.from(MethodHandles.Lookup lookup, Binder start)
    Construct a new Binder, starting from a given invokebinder.
    static Binder
    Binder.from(MethodHandles.Lookup lookup, Class returnType)
    Construct a new Binder using a return type.
    static Binder
    Binder.from(MethodHandles.Lookup lookup, Class returnType, Class[] argTypes)
    Construct a new Binder using a return type and argument types.
    static Binder
    Binder.from(MethodHandles.Lookup lookup, Class returnType, Class argType0, Class... argTypes)
    Construct a new Binder using a return type and argument types.
    static Binder
    Binder.from(MethodHandles.Lookup lookup, MethodType start)
    Construct a new Binder, starting from a given MethodType.
    static Binder
    Binder.from(MethodType start)
    Construct a new Binder, starting from a given MethodType.
    Binder.insert(int index, boolean value)
    Insert at the given index the given boolean value.
    Binder.insert(int index, byte value)
    Insert at the given index the given byte value.
    Binder.insert(int index, char value)
    Insert at the given index the given char value.
    Binder.insert(int index, double value)
    Insert at the given index the given double value.
    Binder.insert(int index, float value)
    Insert at the given index the given float value.
    Binder.insert(int index, int value)
    Insert at the given index the given int value.
    Binder.insert(int index, long value)
    Insert at the given index the given long value.
    Binder.insert(int index, short value)
    Insert at the given index the given short value.
    Binder.insert(int index, Class[] types, Object... values)
    Insert at the given index the given argument value(s).
    Binder.insert(int index, Object... values)
    Insert at the given index the given argument value(s).
    Binder.logType()
    Log the current MethodType as info.
    Binder.permute(int... reorder)
    Permute the incoming arguments to a new sequence specified by the given values.
    Binder.prepend(boolean value)
    Prepend to the argument list the given boolean value.
    Binder.prepend(byte value)
    Prepend to the argument list the given byte value.
    Binder.prepend(char value)
    Prepend to the argument list the given char value.
    Binder.prepend(double value)
    Prepend to the argument list the given double value.
    Binder.prepend(float value)
    Prepend to the argument list the given float value.
    Binder.prepend(int value)
    Prepend to the argument list the given int value.
    Binder.prepend(long value)
    Prepend to the argument list the given long value.
    Binder.prepend(short value)
    Prepend to the argument list the given short value.
    Binder.prepend(Object... values)
    Prepend to the argument list the given argument value(s).
    Binder.printType()
    Println the current MethodType to stdout.
    Println the current MethodType to the given stream.
    Binder.spread(int count)
    Spread a trailing array argument into the given number of arguments of the type of the array.
    Binder.spread(Class... spreadTypes)
    Spread a trailing array argument into the specified argument types.
    Binder.to(Binder other)
    Join this binder to an existing one by applying its transformations after this one.
    Binder.tryFinally(MethodHandle post)
    Apply transforms to run the given handle's logic as a "finally" block.
    Binder.varargs(int index, Class type)
    Box all incoming arguments from the given position onward into the given array type.
    Use an alternate java.lang.invoke.MethodHandles.Lookup as the default for any direct handles created.
    Methods in com.headius.invokebinder with parameters of type Binder
    Modifier and Type
    Method
    Description
    static Binder
    Binder.from(Binder start)
    Construct a new Binder, starting from a given invokebinder.
    static Binder
    Binder.from(MethodHandles.Lookup lookup, Binder start)
    Construct a new Binder, starting from a given invokebinder.
    Binder.to(Binder other)
    Join this binder to an existing one by applying its transformations after this one.
    Constructors in com.headius.invokebinder with parameters of type Binder
    Modifier
    Constructor
    Description
     
    Binder(Binder source)
    Construct a new Binder using the given invokebinder.
     
    Binder(Binder source, Transform transform)
    Construct a new Binder using the given invokebinder plus an additional transform
     
    Binder(Binder source, Transform transform, MethodType type)
    Construct a new Binder using the given invokebinder plus an additional transform and current type
     
    Construct a new Binder using the given Lookup and invokebinder.
    private
    SmartBinder(Signature start, Binder binder)
     
    private
    SmartBinder(SmartBinder original, Signature next, Binder binder)