Uses of Class
com.headius.invokebinder.SmartHandle
Packages that use SmartHandle
-
Uses of SmartHandle in com.headius.invokebinder
Methods in com.headius.invokebinder that return SmartHandleModifier and TypeMethodDescriptionApply an argument into the handle at the given index, returning a new SmartHandle.Apply an argument into the handle at the given name, returning a new SmartHandle.Apply an argument into the handle at the end, returning a new SmartHandle.SmartBinder.arrayGet()SmartBinder.arraySet()Bind the first argument of this SmartHandle to the given object, returning a new adapted handle.Create a new SmartHandle that casts arguments from the given signature to the current signature's type with the new argument names.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.SmartHandle.cast(MethodType incoming) Create a new SmartHandle that casts arguments from the given type to the current signature's type, using the same argument names.Create a new SmartHandle that converts arguments from the given signature to the current signature's type with the new argument names.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.SmartHandle.convert(MethodType incoming) Create a new SmartHandle that converts arguments from the given type to the current signature's type, using the same argument names.Insert an argument into the handle at the given index, returning a new SmartHandle.Insert an argument into the handle at the given index, returning a new SmartHandle.Insert an argument into the handle at the given index, returning a new SmartHandle.static SmartHandleSmartHandle.findStaticQuiet(MethodHandles.Lookup lookup, Class target, String name, Signature signature) Create a new SmartHandle by performing a lookup on the given target class for the given method name with the given signature.static SmartHandleSmartHandle.from(Signature signature, MethodHandle handle) Create a new SmartHandle from the given Signature and MethodHandle.SmartHandle.guard(SmartHandle target, SmartHandle fallback) Use this SmartHandle as a test to guard target and fallback handles.SmartBinder.invoke(SmartHandle target) SmartBinder.invoke(MethodHandle target) SmartBinder.invoker()Produce a SmartHandle from this binder that invokes a leading MethodHandle argument with the remaining arguments.SmartBinder.invokeStaticQuiet(MethodHandles.Lookup lookup, Class target, String name) SmartBinder.invokeVirtualQuiet(MethodHandles.Lookup lookup, String name) Signature.permuteWith(SmartHandle target) Produce a new SmartHandle by permuting this Signature's arguments to the Signature of a target SmartHandle.SmartHandle.returnValue(Class type, Object value) Replace the return value with the given value, performing no other processing of the original value.Methods in com.headius.invokebinder with parameters of type SmartHandleModifier and TypeMethodDescriptionSmartBinder.filterReturn(SmartHandle filter) SmartBinder.fold(String newName, SmartHandle function) SmartBinder.foldVoid(SmartHandle function) SmartHandle.guard(SmartHandle target, SmartHandle fallback) Use this SmartHandle as a test to guard target and fallback handles.SmartBinder.invoke(SmartHandle target) Signature.permuteWith(SmartHandle target) Produce a new SmartHandle by permuting this Signature's arguments to the Signature of a target SmartHandle.