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

de.comhix.database.utility.DatabaseUtils.kt Maven / Gradle / Ivy

package de.comhix.database.utility

import com.fasterxml.jackson.annotation.JsonProperty
import de.comhix.database.objects.DatabaseObject
import org.reflections.Reflections
import kotlin.reflect.KClass
import kotlin.reflect.KProperty1
import kotlin.reflect.full.findAnnotation

/**
 * @author Benjamin Beeker
 */

val reflections = Reflections("de.comhix")

inline fun  KClass<*>.getSubTypes(): List> =
        reflections.getSubTypesOf(this.java).map { it.kotlin as KClass }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy