toggle menu
Simple Robot
3.3.0
jvm
switch theme
search in API
simboot-core
/
love.forte.simboot.core.utils
/
scanClass
scan
Class
@
InternalSimbotApi
fun
<
T
>
scanClass
(
classLoader
:
ClassLoader
,
targetPackages
:
List
<
String
>
,
onFailure
:
(
e
:
Throwable
,
className
:
String
)
->
Class
<
*
>
?
,
collector
:
Sequence
<
Class
<
*
>
>
.
(
)
->
T
)
:
T
(
source
)
扫描所有的Class.