AnvilGraph

data class AnvilGraph(val project: McProject, val delegate: SafeCache<SourceSetName, Map<AnvilScopeName, AnvilScopedDeclarations>>) : ProjectContext.Element

Constructors

Link copied to clipboard
fun AnvilGraph(project: McProject, delegate: SafeCache<SourceSetName, Map<AnvilScopeName, AnvilScopedDeclarations>>)

Types

Link copied to clipboard
object Key : ProjectContext.Key<AnvilGraph>

Functions

Link copied to clipboard
suspend fun all(): List<Map<AnvilScopeName, AnvilScopedDeclarations>>
Link copied to clipboard
private suspend fun McProject.declarationsForScopeName(sourceSetName: SourceSetName): MutableMap<AnvilScopeName, AnvilScopedDeclarations>
Link copied to clipboard
private fun McProject.dependenciesBySourceSetName(): Map<SourceSetName, List<ProjectDependency>>
Link copied to clipboard
suspend fun get(sourceSetName: SourceSetName): Map<AnvilScopeName, AnvilScopedDeclarations>
Link copied to clipboard
private suspend fun McProject.getAnvilScopeName(    scopeNameEntry: AnvilScopeNameEntry,     sourceSetName: SourceSetName,     kotlinFile: JvmFile): AnvilScopeName
Link copied to clipboard
suspend fun mergedScopeNames(): List<AnvilScopeName>

Properties

Link copied to clipboard
val allAnnotations: List<Reference.ExplicitKotlinReference>
Link copied to clipboard
private val contributeAnnotations: List<Reference.ExplicitKotlinReference>
Link copied to clipboard
private val delegate: SafeCache<SourceSetName, Map<AnvilScopeName, AnvilScopedDeclarations>>
Link copied to clipboard
open override val key: ProjectContext.Key<AnvilGraph>
Link copied to clipboard
private val mergeAnnotations: List<Reference.ExplicitKotlinReference>
Link copied to clipboard
private val project: McProject

Sources

Link copied to clipboard