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

com.vk.compiler.plugin.composable.skippability.checker.ComposeClasses.kt Maven / Gradle / Ivy

There is a newer version: 0.6.1-k2
Show newest version
package com.vk.compiler.plugin.composable.skippability.checker

import org.jetbrains.kotlin.name.ClassId
import org.jetbrains.kotlin.name.FqName
import org.jetbrains.kotlin.name.Name

const val COMPOSE_PACKAGE = "androidx.compose"
private const val ROOT = "$COMPOSE_PACKAGE.runtime"
private const val ROOT_INTERNAL = "$ROOT.internal"
private val ROOT_FQ_NAME = FqName(ROOT)
private val ROOT_INTERNAL_FQ_NAME = FqName(ROOT_INTERNAL)

internal object ComposeClassName {
    val Composable = FqName("$ROOT.Composable")
    val NonRestartableComposable = FqName("$ROOT.NonRestartableComposable")
    val NonSkippableComposable = FqName("$ROOT.NonSkippableComposable")
    val ExplicitGroupsComposable = FqName("$ROOT.ExplicitGroupsComposable")
    val Composer = FqName("$ROOT.Composer")
    val StableMarker = FqName("$ROOT.StableMarker")
    val Stable = FqName("$ROOT.Stable")
    val Immutable = FqName("$ROOT.Immutable")
    val StabilityInferred = FqName("$ROOT_INTERNAL.StabilityInferred")
}

internal object ComposeClassId {
    val Composable = ClassId(ROOT_FQ_NAME, Name.identifier("Composable"))
    val NonRestartableComposable = ClassId(ROOT_FQ_NAME, Name.identifier("NonRestartableComposable"))
    val ExplicitGroupsComposable = ClassId(ROOT_FQ_NAME, Name.identifier("ExplicitGroupsComposable"))
    val Composer = ClassId(ROOT_FQ_NAME, Name.identifier("Composer"))
    val StableMarker = ClassId(ROOT_FQ_NAME, Name.identifier("StableMarker"))
    val Stable = ClassId(ROOT_FQ_NAME, Name.identifier("Stable"))
    val Immutable = ClassId(ROOT_FQ_NAME, Name.identifier("Immutable"))
    val StabilityInferred = ClassId(ROOT_INTERNAL_FQ_NAME, Name.identifier("StabilityInferred"))

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy