Signature |
Signature.appendArg(java.lang.String name,
java.lang.Class<?> type) |
Append an argument (name + type) to the signature.
|
Signature |
Signature.appendArgs(java.lang.String[] names,
java.lang.Class<?>... types) |
Append an argument (name + type) to the signature.
|
Signature |
Signature.argName(int index,
java.lang.String name) |
Set the argument name at the given index.
|
Signature |
Signature.argType(int index,
java.lang.Class<?> type) |
Set the argument type at the given index.
|
Signature |
Signature.asFold(java.lang.Class<?> retval) |
Produce a new signature based on this one with a different return type.
|
Signature |
SmartBinder.baseSignature() |
Get the signature this binder started with.
|
Signature |
Signature.changeReturn(java.lang.Class<?> retval) |
Create a new signature based on this one with a different return type.
|
Signature |
Signature.collect(java.lang.String newName,
java.lang.String oldPattern) |
Collect sequential arguments matching pattern into an array.
|
Signature |
Signature.dropArg(int index) |
Drops the argument at the given index.
|
Signature |
Signature.dropArg(java.lang.String name) |
Drops the first argument with the given name.
|
Signature |
Signature.dropFirst() |
Drop the first argument from this signature.
|
Signature |
Signature.dropFirst(int n) |
Drop the specified number of first arguments from this signature.
|
Signature |
Signature.dropLast() |
Drop the last argument from this signature.
|
Signature |
Signature.dropLast(int n) |
Drop the specified number of last arguments from this signature.
|
Signature |
Signature.exclude(java.lang.String... excludeArgs) |
Create a new signature containing the same return value as this one, but
omitting the specified arguments.
|
static Signature |
Signature.from(java.lang.Class<?> retval,
java.lang.Class<?>[] argTypes,
java.lang.String... argNames) |
Create a new signature based on the given return value, argument types, and argument names
|
Signature |
Signature.insertArg(int index,
java.lang.String name,
java.lang.Class<?> type) |
Insert an argument (name + type) into the signature.
|
Signature |
Signature.insertArg(java.lang.String beforeName,
java.lang.String name,
java.lang.Class<?> type) |
Insert an argument (name + type) into the signature before the argument
with the given name.
|
Signature |
Signature.insertArgs(int index,
java.lang.String[] names,
java.lang.Class<?>... types) |
Insert arguments (names + types) into the signature.
|
Signature |
Signature.insertArgs(java.lang.String beforeName,
java.lang.String[] names,
java.lang.Class<?>... types) |
Insert arguments (names + types) into the signature before the argument
with the given name.
|
Signature |
Signature.permute(java.lang.String... permuteArgs) |
Create a new signature containing the same return value as this one, but
only the specified arguments.
|
Signature |
Signature.prependArg(java.lang.String name,
java.lang.Class<?> type) |
Prepend an argument (name + type) to the signature.
|
Signature |
Signature.prependArgs(java.lang.String[] names,
java.lang.Class<?>... types) |
Prepend arguments (names + types) to the signature.
|
Signature |
Signature.replaceArg(java.lang.String oldName,
java.lang.String newName,
java.lang.Class<?> newType) |
Replace the named argument with a new name and type.
|
static Signature |
Signature.returning(java.lang.Class<?> retval) |
Create a new signature returning the given type.
|
Signature |
SmartBinder.signature() |
Get the current Signature for this binder.
|
Signature |
SmartHandle.signature() |
Get the Signature of this SmartHandle.
|
Signature |
Signature.spread(java.lang.String... names) |
Spread the trailing [] argument into its component type assigning given names.
|
Signature |
Signature.spread(java.lang.String[] names,
java.lang.Class<?>... types) |
Spread the trailing [] argument into its component type assigning given names.
|
Signature |
Signature.spread(java.lang.String baseName,
int count) |
Spread the trailing [] argument into its component type assigning given names.
|