com.vk.compiler.plugin.composable.skippability.checker.ComposeClasses.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compiler-plugin Show documentation
Show all versions of compiler-plugin Show documentation
Utilities for Jetpack Compose
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"))
}