Package-level declarations

Types

Link copied to clipboard
internal sealed interface EventHandlerEntry : Priority

Base type for all registered event handler entries.

Link copied to clipboard
internal sealed interface ExceptionHandlerEntry : Priority

Base type for all registered exception handler entries.

Link copied to clipboard

Marker base type for exception handler entries that declare a throwable parameter in their method signature.

Link copied to clipboard
internal data class InstanceEventHandlerEntry(val target: WeakReference<Any>, val invoker: InstanceEventInvoker, val priority: Int, val runIfCanceled: Boolean) : EventHandlerEntry

Internal representation of an instance-based event handler.

Link copied to clipboard
internal data class InstanceExceptionHandlerEntry(val target: WeakReference<Any>, val invoker: InstanceExceptionInvokers, val priority: Int) : ExceptionHandlerEntry

Internal representation of an instance-bound exception handler.

internal data class InstanceExceptionHandlerEntryWithThrowable(val target: WeakReference<Any>, val invoker: InstanceExceptionInvokers, val priority: Int, val throwableType: Class<out Throwable>) : ExceptionHandlerEntryWithThrowable

Internal representation of an instance-bound exception handler that declares a throwable parameter.

Link copied to clipboard
internal sealed interface Priority

Common contract for internal handler descriptors that participate in priority-based dispatch.

Link copied to clipboard
internal data class StaticEventHandlerEntry(val owner: Class<*>, val invoker: StaticEventInvoker, val priority: Int, val runIfCanceled: Boolean) : EventHandlerEntry

Internal representation of a static event handler.

Link copied to clipboard
internal data class StaticExceptionHandlerEntry(val owner: Class<*>, val invoker: StaticExceptionInvokers, val priority: Int) : ExceptionHandlerEntry

Internal representation of a static exception handler.

Link copied to clipboard
internal data class StaticExceptionHandlerEntryWithThrowable(val owner: Class<*>, val invoker: StaticExceptionInvokers, val priority: Int, val throwableType: Class<out Throwable>) : ExceptionHandlerEntryWithThrowable

Internal representation of a static exception handler that declares a throwable parameter.