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

com.ramcosta.composedestinations.codegen.model.DestinationGeneratingParams.kt Maven / Gradle / Ivy

Go to download

Annotation processing library for type-safe Jetpack Compose navigation with no boilerplate.

There is a newer version: 2.1.0-beta15
Show newest version
package com.ramcosta.composedestinations.codegen.model

interface DestinationGeneratingParams {
    val sourceIds: List
    val name: String
    val qualifiedName: String
    val composableName: String
    val composableQualifiedName: String
    val cleanRoute: String
    val parameters: List
    val deepLinks: List
    val isStart: Boolean
    val navGraphRoute: String
    val destinationStyleType: DestinationStyleType
    val composableReceiverSimpleName: String?
    val requireOptInAnnotationTypes: List
    val navArgsDelegateType: NavArgsDelegateType?

    companion object {
        operator fun invoke(
            sourceIds: List,
            name: String,
            qualifiedName: String,
            composableName: String,
            composableQualifiedName: String,
            cleanRoute: String,
            parameters: List,
            deepLinks: List,
            isStart: Boolean,
            navGraphRoute: String,
            destinationStyleType: DestinationStyleType,
            composableReceiverSimpleName: String?,
            requireOptInAnnotationTypes: List,
            navArgsDelegateType: NavArgsDelegateType?
        ): DestinationGeneratingParams {
            return DestinationGeneratingParamsImpl(
                sourceIds = sourceIds,
                name = name,
                qualifiedName = qualifiedName,
                composableName = composableName,
                composableQualifiedName = composableQualifiedName,
                cleanRoute = cleanRoute,
                parameters = parameters,
                deepLinks = deepLinks,
                isStart = isStart,
                navGraphRoute = navGraphRoute,
                destinationStyleType = destinationStyleType,
                composableReceiverSimpleName = composableReceiverSimpleName,
                requireOptInAnnotationTypes = requireOptInAnnotationTypes,
                navArgsDelegateType = navArgsDelegateType
            )
        }
    }

}

data class DestinationGeneratingParamsImpl(
    override val sourceIds: List,
    override val name: String,
    override val qualifiedName: String,
    override val composableName: String,
    override val composableQualifiedName: String,
    override val cleanRoute: String,
    override val parameters: List,
    override val deepLinks: List,
    override val isStart: Boolean,
    override val navGraphRoute: String,
    override val destinationStyleType: DestinationStyleType,
    override val composableReceiverSimpleName: String?,
    override val requireOptInAnnotationTypes: List,
    override val navArgsDelegateType: NavArgsDelegateType?
): DestinationGeneratingParams




© 2015 - 2025 Weber Informatics LLC | Privacy Policy