32 lines
1.4 KiB
Plaintext
Vendored
32 lines
1.4 KiB
Plaintext
Vendored
FILE: exceptionInRepeatedAnnotation.kt
|
|
public final typealias EventHandler<E> = R|(@R|kotlin/ParameterName|(name = String(e)) E) -> kotlin/Unit|
|
|
public final class EventListener<E : R|Event|> : R|kotlin/Any| {
|
|
public constructor<E : R|Event|>(): R|EventListener<E>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final companion object Companion : R|kotlin/Any| {
|
|
private constructor(): R|EventListener.Companion| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final inline operator fun <reified E : R|Event|> invoke(noinline callback: R|EventHandler<E>|): R|EventListener<E>| {
|
|
^invoke R|kotlin/TODO|()
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
public final inline fun <reified E : R|Event|> R|EventHandler<E>|.withPriority(): R|EventListener<@R|kotlin/ParameterName|(name = String(e)) E>| {
|
|
^withPriority Q|EventListener|.R|/EventListener.Companion.invoke|<R|@R|kotlin/ParameterName|(name = String(e)) E|>(this@R|/withPriority|)
|
|
}
|
|
public final inline fun <reified E : R|Event|> R|EventHandler<E>|.withDefaultPriority(): R|EventListener<@R|kotlin/ParameterName|(name = String(e)) E>| {
|
|
^withDefaultPriority this@R|/withDefaultPriority|.R|/withPriority|<R|@R|kotlin/ParameterName|(name = String(e)) E|>()
|
|
}
|
|
public abstract class Event : R|kotlin/Any| {
|
|
public constructor(): R|Event| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|