aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/me/bush
diff options
context:
space:
mode:
authortherealbush <therealbush@users.noreply.github.com>2022-04-14 00:31:47 -0700
committertherealbush <therealbush@users.noreply.github.com>2022-04-14 00:31:47 -0700
commit33665d28f5aeb16b40f832b1a2bd4d81656b74fa (patch)
tree0d6e8302cf5176639b65e2d6d10a94b9d4657aed /src/main/kotlin/me/bush
parentb49065b50edd48d0f335e17bcf6868dc2f916ad5 (diff)
downloadeventbus-kotlin-33665d28f5aeb16b40f832b1a2bd4d81656b74fa.tar.gz
eventbus-kotlin-33665d28f5aeb16b40f832b1a2bd4d81656b74fa.tar.bz2
eventbus-kotlin-33665d28f5aeb16b40f832b1a2bd4d81656b74fa.zip
format
Diffstat (limited to 'src/main/kotlin/me/bush')
-rw-r--r--src/main/kotlin/me/bush/illnamethislater/EventBus.kt3
-rw-r--r--src/main/kotlin/me/bush/illnamethislater/ListenerGroup.kt2
-rw-r--r--src/main/kotlin/me/bush/illnamethislater/ReflectUtil.kt8
3 files changed, 4 insertions, 9 deletions
diff --git a/src/main/kotlin/me/bush/illnamethislater/EventBus.kt b/src/main/kotlin/me/bush/illnamethislater/EventBus.kt
index 7affa4a..ddc72ef 100644
--- a/src/main/kotlin/me/bush/illnamethislater/EventBus.kt
+++ b/src/main/kotlin/me/bush/illnamethislater/EventBus.kt
@@ -1,9 +1,6 @@
package me.bush.illnamethislater
-import kotlinx.coroutines.delay
import kotlin.reflect.KClass
-import kotlin.reflect.full.companionObject
-import kotlin.reflect.full.companionObjectInstance
import kotlin.reflect.full.hasAnnotation
/**
diff --git a/src/main/kotlin/me/bush/illnamethislater/ListenerGroup.kt b/src/main/kotlin/me/bush/illnamethislater/ListenerGroup.kt
index b8116cb..24a1ba3 100644
--- a/src/main/kotlin/me/bush/illnamethislater/ListenerGroup.kt
+++ b/src/main/kotlin/me/bush/illnamethislater/ListenerGroup.kt
@@ -1,6 +1,6 @@
package me.bush.illnamethislater
-import kotlinx.coroutines.*
+import kotlinx.coroutines.launch
import java.util.concurrent.CopyOnWriteArrayList
import kotlin.reflect.KClass
diff --git a/src/main/kotlin/me/bush/illnamethislater/ReflectUtil.kt b/src/main/kotlin/me/bush/illnamethislater/ReflectUtil.kt
index 2b16379..7f3618c 100644
--- a/src/main/kotlin/me/bush/illnamethislater/ReflectUtil.kt
+++ b/src/main/kotlin/me/bush/illnamethislater/ReflectUtil.kt
@@ -1,15 +1,13 @@
package me.bush.illnamethislater
-import java.lang.reflect.Modifier
-import kotlin.reflect.*
+import kotlin.reflect.KCallable
+import kotlin.reflect.KClass
import kotlin.reflect.full.allSuperclasses
import kotlin.reflect.full.declaredMembers
import kotlin.reflect.full.valueParameters
import kotlin.reflect.full.withNullability
import kotlin.reflect.jvm.isAccessible
-import kotlin.reflect.jvm.javaField
-import kotlin.reflect.jvm.javaGetter
-import kotlin.reflect.jvm.javaMethod
+import kotlin.reflect.typeOf
// by bush, unchanged since 1.0.0