All Downloads are FREE. Search and download functionalities are using the official Maven repository.

o_utils.ksp.generator.0.22.6.source-code.ResolveSubclasses.kt Maven / Gradle / Ivy

There is a newer version: 0.23.0
Show newest version
package dev.inmo.micro_ksp.generator

import com.google.devtools.ksp.symbol.KSClassDeclaration

fun KSClassDeclaration.resolveSubclasses(): List {
    return (getSealedSubclasses().flatMap {
        it.resolveSubclasses()
    }.ifEmpty {
        sequenceOf(this)
    }).toList()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy