gh-pages / com.nextfaze.devfun.internal.exception / ExceptionFunctionItem
ExceptionFunctionItem
class ExceptionFunctionItem : FunctionItem (source)
Constructors
| Name | Summary |
|---|---|
| <init> | ExceptionFunctionItem(ex: String) |
Properties
| Name | Summary |
|---|---|
| category | val category: ExceptionCategoryDefinitionThe resolved category definition. |
| function | val function: ExceptionFunctionDefinitionThe original definition this item was derived from. |
| name | val name: StringThe formatted display name. |
Inherited Properties
| Name | Summary |
|---|---|
| args | open val args: FunctionArgsCustom arguments for the invoke invocation. Otherwise arguments will be requested from an InstanceProvider. |
| group | open val group: CharSequence?A “grouping” for this item. |
| invoke | open val invoke: FunctionInvokeFunction to be invoked on click. |
Extension Properties
| Name | Summary |
|---|---|
| receiverClass | val FunctionItem.receiverClass: KClass<*>Get the receiver class for this function item. |
| receiverClassForInvocation | val FunctionItem.receiverClassForInvocation: KClass<*>?Get the receiver class for this function item if you intend to invoke it. That is, it will return null if the type isn’t needed. |
Extension Functions
| Name | Summary |
|---|---|
| call | fun FunctionItem.call(invoker: Invoker = devFun.get()): InvokeResult?Convenience function for invoking a FunctionItem using the current devFun instance. |
| parameterInstances | fun FunctionItem.parameterInstances(instanceProvider: InstanceProvider = devFun.instanceProviders): List<Any?>Get the parameter instances for this function item for invocation. |
| receiverInstance | fun FunctionItem.receiverInstance(instanceProvider: InstanceProvider = devFun.instanceProviders): Any?Get the receiver instance for this function item to be used for invocation. |