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

commonJvmMain.com.slack.circuit.codegen.annotations.CircuitInject.jvm.kt Maven / Gradle / Ivy

The newest version!
// Copyright (C) 2022 Slack Technologies, LLC
// SPDX-License-Identifier: Apache-2.0
package com.slack.circuit.codegen.annotations

import com.slack.circuit.runtime.screen.Screen
import dagger.hilt.GeneratesRootInput
import kotlin.reflect.KClass
import software.amazon.lastmile.kotlin.inject.anvil.extend.ContributingAnnotation

/**
 * JVM-specific [CircuitInject], applying the Hilt [GeneratesRootInput] annotation.
 *
 * For more general information about this annotation, see
 * [com.slack.circuit.codegen.annotations.CircuitInject]
 */
@ContributingAnnotation
@GeneratesRootInput
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
public actual annotation class CircuitInject(
  actual val screen: KClass,
  actual val scope: KClass<*>,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy