From 33665d28f5aeb16b40f832b1a2bd4d81656b74fa Mon Sep 17 00:00:00 2001 From: therealbush Date: Thu, 14 Apr 2022 00:31:47 -0700 Subject: format --- src/main/kotlin/me/bush/illnamethislater/EventBus.kt | 3 --- src/main/kotlin/me/bush/illnamethislater/ListenerGroup.kt | 2 +- src/main/kotlin/me/bush/illnamethislater/ReflectUtil.kt | 8 +++----- 3 files changed, 4 insertions(+), 9 deletions(-) (limited to 'src/main/kotlin/me') 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 -- cgit