Uses of Class
com.headius.invokebinder.Signature
Packages that use Signature
-
Uses of Signature in com.headius.invokebinder
Fields in com.headius.invokebinder declared as SignatureModifier and TypeFieldDescriptionprivate final Signature
SmartHandle.signature
The signature associated with this smart handleprivate final Signature
SmartBinder.start
Fields in com.headius.invokebinder with type parameters of type SignatureMethods in com.headius.invokebinder that return SignatureModifier and TypeMethodDescriptionAppend an argument (name + type) to the signature.Signature.appendArgs
(String[] names, Class... types) Append an argument (name + type) to the signature.Produce a new signature based on this one with a different return type.Signature.changeReturn
(Class retval) Create a new signature based on this one with a different return type.Signature.dropArg
(int index) Drops the argument at the given index.Drops the first argument with the given name.Signature.dropFirst()
Drop the first argument from this signature.Signature.dropLast()
Drop the last argument from this signature.Create a new signature containing the same return value as this one, but omitting the specified arguments.Insert an argument (name + type) into the signature.Insert an argument (name + type) into the signature before the argument with the given name.Signature.insertArgs
(int index, String[] names, Class... types) Insert arguments (names + types) into the signature.Signature.insertArgs
(String beforeName, String[] names, Class... types) Insert arguments (names + types) into the signature before the argument with the given name.Create a new signature containing the same return value as this one, but only the specified arguments.Signature.prependArg
(String name, Class type) Prepend an argument (name + type) to the signature.Signature.prependArgs
(String[] names, Class[] types) Prepend an argument (name + type) to the signature.Signature.replaceArg
(String oldName, String newName, Class newType) Replace the named argument with a new name and type.static Signature
Create a new signature returning the given type.SmartBinder.signature()
SmartHandle.signature()
Get the Signature of this SmartHandle.Spread the trailing [] argument into its component type assigning given names.Spread the trailing [] argument into the given argument typesSpread the trailing [] argument into its component type assigning given names.Methods in com.headius.invokebinder with parameters of type SignatureModifier and TypeMethodDescriptionCreate 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 converts arguments from the given signature to the current signature's type with the new argument names.static SmartHandle
SmartHandle.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 SmartBinder
static SmartBinder
SmartBinder.from
(MethodHandles.Lookup lookup, Signature inbound) static SmartHandle
SmartHandle.from
(Signature signature, MethodHandle handle) Create a new SmartHandle from the given Signature and MethodHandle.int[]
Generate an array of argument offsets based on permuting this signature to the given signature.Constructors in com.headius.invokebinder with parameters of type SignatureModifierConstructorDescriptionprivate
SmartBinder
(Signature start, Binder binder) private
SmartBinder
(SmartBinder original, Signature next, Binder binder) (package private)
SmartHandle
(Signature signature, MethodHandle handle)