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

godot.entrygenerator.ext.FqNameExtensions.kt Maven / Gradle / Ivy

There is a newer version: 0.10.0-4.3.0
Show newest version
package godot.entrygenerator.ext

import godot.entrygenerator.EntryGenerator
import godot.entrygenerator.model.JvmType

fun String.fqNameIsJvmType(vararg jvmTypes: JvmType): Boolean = jvmTypes.any { jvmType ->
    EntryGenerator
        .jvmTypeFqNamesProvider(jvmType)
        .any { jvmTypeFqName -> jvmTypeFqName == this }
}

val JvmType.fqName: Set
    get() = EntryGenerator.jvmTypeFqNamesProvider(this)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy