Package modulecheck.api.context

Types

Link copied to clipboard
data class AndroidBasePackages(val delegate: SafeCache<SourceSetName, String?>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
Link copied to clipboard
data class AndroidRDeclaredNames(val delegate: SafeCache<SourceSetName, AndroidRDeclaredName?>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class AndroidResourceDeclaredNames(val delegate: SafeCache<SourceSetName, LazySet<AndroidResourceDeclaredName>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class AndroidResourceReferences(val delegate: SafeCache<SourceSetName, LazySet<Reference>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class AndroidStylesFiles(val delegate: SafeCache<SourceSetName, Set<AndroidStylesFile>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class AnvilGraph(val project: McProject, val delegate: SafeCache<SourceSetName, Map<AnvilScopeName, AnvilScopedDeclarations>>) : ProjectContext.Element
Link copied to clipboard
data class AnvilScopeContributions(val delegate: SafeCache<SourceSetName, Map<AnvilScopeName, Set<DeclaredName>>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class AnvilScopedDeclarations(    val scopeName: AnvilScopeName,     val contributions: MutableSet<DeclaredName>,     val merges: MutableSet<DeclaredName>)
Link copied to clipboard
data class AnvilScopeDependencies(val delegate: SafeCache<SourceSetName, List<ProjectDependency>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class AnvilScopeMerges(val delegate: SafeCache<SourceSetName, Map<AnvilScopeName, Set<DeclaredName>>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class ClasspathDependencies(val delegate: SafeCache<SourceSetName, List<TransitiveProjectDependency>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class Declarations(val delegate: SafeCache<Declarations.DeclarationsKey, LazySet<DeclaredName>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class DependencySources(val delegate: SafeCache<DependencySources.SourceKey, DependencySources.SourceResult>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class Depths(val delegate: SafeCache<SourceSetName, ProjectDepth>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class DownstreamProjects(val delegate: Set<DownstreamDependency>) : Set<DownstreamDependency> , ProjectContext.Element
Link copied to clipboard
data class Imports(val delegate: SafeCache<SourceSetName, LazySet<Reference>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class InheritedDependencyWithSource(val projectDependency: ProjectDependency, val source: ProjectDependency?)
Link copied to clipboard
data class JvmFiles(val fileFactoryCache: SafeCache<SourceSetName, JvmFileProvider>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class JvmSourceFiles(val delegate: SafeCache<SourceSetName, Set<File>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class KaptDependencies(val delegate: SafeCache<ConfigurationName, Set<ConfiguredDependency>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class LayoutFiles(val delegate: SafeCache<SourceSetName, Set<XmlFile.LayoutFile>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class ManifestFiles(val delegate: SafeCache<SourceSetName, XmlFile.ManifestFile?>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class MustBeApi(val delegate: Set<InheritedDependencyWithSource>) : Set<InheritedDependencyWithSource> , ProjectContext.Element
Link copied to clipboard
data class ProjectDepth(    val dependentProject: McProject,     val dependentPath: ProjectPath.StringProjectPath,     val depth: Int,     val children: List<ProjectDepth>,     val sourceSetName: SourceSetName) : Comparable<ProjectDepth>
Link copied to clipboard
data class PublicDependencies(val delegate: Set<ProjectDependency>) : Set<ProjectDependency> , ProjectContext.Element
Link copied to clipboard
data class References(val delegate: SafeCache<SourceSetName, LazySet<Reference>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class ResSourceFiles(val delegate: SafeCache<SourceSetName, Set<File>>, val project: McProject) : ProjectContext.Element
Link copied to clipboard
data class SourceSetDependencies(val delegate: SafeCache<SourceSetName, List<TransitiveProjectDependency>>, val project: McProject) : ProjectContext.Element

Functions

Link copied to clipboard
suspend fun ProjectContext.androidBasePackages(): AndroidBasePackages
Link copied to clipboard
suspend fun ProjectContext.androidBasePackagesForSourceSetName(sourceSetName: SourceSetName): String?
Link copied to clipboard
Link copied to clipboard
suspend fun ProjectContext.androidRDeclaredNameForSourceSetName(sourceSetName: SourceSetName): AndroidRDeclaredName?
Link copied to clipboard
suspend fun ProjectContext.androidRDeclaredNames(): AndroidRDeclaredNames
Link copied to clipboard
suspend fun ProjectContext.androidResourceReferencesForSourceSetName(sourceSetName: SourceSetName): LazySet<Reference>
Link copied to clipboard
suspend fun ProjectContext.androidStylesFiles(): AndroidStylesFiles
Link copied to clipboard
suspend fun ProjectContext.androidStylesFilesForSourceSetName(sourceSetName: SourceSetName): Set<AndroidStylesFile>
Link copied to clipboard
suspend fun ProjectContext.anvilGraph(): AnvilGraph
Link copied to clipboard
suspend fun ProjectContext.anvilScopeContributions(): AnvilScopeContributions
Link copied to clipboard
Link copied to clipboard
suspend fun ProjectContext.anvilScopeDependencies(): AnvilScopeDependencies
Link copied to clipboard
suspend fun ProjectContext.anvilScopeDependenciesForSourceSetName(sourceSetName: SourceSetName): List<ProjectDependency>
Link copied to clipboard
suspend fun ProjectContext.anvilScopeMerges(): AnvilScopeMerges
Link copied to clipboard
suspend fun ProjectContext.anvilScopeMergesForSourceSetName(sourceSetName: SourceSetName): Map<AnvilScopeName, Set<DeclaredName>>
Link copied to clipboard
suspend fun ProjectContext.classpathDependencies(): ClasspathDependencies
Link copied to clipboard
suspend fun ProjectContext.declarations(): Declarations
suspend fun ProjectDependency.declarations(projectCache: ProjectCache): LazySet<DeclaredName>
Link copied to clipboard
suspend fun ProjectContext.dependencySources(): DependencySources
Link copied to clipboard
suspend fun ProjectContext.dependents(): DownstreamProjects

All projects which are downstream of the receiver project, including those which only inherit via another dependency's api configuration without declaring the dependency directly.

Link copied to clipboard
suspend fun McProject.depthForSourceSetName(sourceSetName: SourceSetName): ProjectDepth
Link copied to clipboard
suspend fun McProject.depths(): Depths
Link copied to clipboard
suspend fun ProjectContext.imports(): Imports
Link copied to clipboard
suspend fun ProjectContext.importsForSourceSetName(sourceSetName: SourceSetName): LazySet<Reference>
Link copied to clipboard
suspend fun ProjectContext.jvmFiles(): JvmFiles
Link copied to clipboard
suspend fun ProjectContext.jvmFilesForSourceSetName(sourceSetName: SourceSetName): Flow<JvmFile>
Link copied to clipboard
suspend fun ProjectContext.jvmSourceFiles(): JvmSourceFiles
Link copied to clipboard
suspend fun ProjectContext.jvmSourcesForSourceSetName(sourceSetName: SourceSetName): Set<File>
Link copied to clipboard
suspend fun ProjectContext.kaptDependencies(): KaptDependencies
Link copied to clipboard
suspend fun ProjectContext.kaptDependenciesForConfig(configurationName: ConfigurationName): Set<ConfiguredDependency>
Link copied to clipboard
suspend fun ProjectContext.layoutFiles(): LayoutFiles
Link copied to clipboard
suspend fun ProjectContext.layoutFilesForSourceSetName(sourceSetName: SourceSetName): Set<XmlFile.LayoutFile>
Link copied to clipboard
suspend fun ProjectContext.manifestFileForSourceSetName(sourceSetName: SourceSetName): XmlFile.ManifestFile?
Link copied to clipboard
suspend fun ProjectContext.manifestFiles(): ManifestFiles
Link copied to clipboard
inline suspend fun <T : ConfiguredDependency> T.maybeAsApi(dependentProject: McProject): T
Link copied to clipboard
suspend fun ProjectContext.mustBeApi(): MustBeApi
Link copied to clipboard
suspend fun McProject.mustBeApiIn(    dependentProject: McProject,     sourceSetName: SourceSetName,     isTestFixtures: Boolean): Boolean
private suspend fun McProject.mustBeApiIn(    dependentProject: McProject,     referencesFromDependencies: Set<Reference>,     sourceSetName: SourceSetName,     isTestFixtures: Boolean,     directMainDependencies: List<McProject>): Boolean
Link copied to clipboard
suspend fun ProjectContext.publicDependencies(): PublicDependencies
Link copied to clipboard
suspend fun ProjectContext.references(): References
Link copied to clipboard
suspend fun ProjectContext.referencesForSourceSetName(sourceSetName: SourceSetName): LazySet<Reference>
Link copied to clipboard
private suspend fun McProject.referencesFromDependencies(sourceSetName: SourceSetName): Set<Reference>
Link copied to clipboard
suspend fun McProject.requireSourceOf(    dependencyProject: McProject,     sourceSetName: SourceSetName,     isTestFixture: Boolean): ProjectDependency
Link copied to clipboard
suspend fun ProjectContext.resolvedDeclaredNames(): ResolvedDeclaredNames
Link copied to clipboard
suspend fun ProjectContext.resourceFilesForSourceSetName(sourceSetName: SourceSetName): Set<File>
Link copied to clipboard
suspend fun ProjectContext.resSourceFiles(): ResSourceFiles
Link copied to clipboard
suspend fun ProjectContext.sourceSetDependencies(): SourceSetDependencies
Link copied to clipboard
suspend fun McProject.uses(dependency: ConfiguredDependency): Boolean
Link copied to clipboard
private suspend fun <T : ConfiguredDependency, MightHaveCodeGeneratorBinding> McProject.usesCodeGenDependency(dependency: T): Boolean
Link copied to clipboard
private suspend fun McProject.usesRuntimeDependency(dependency: ProjectDependency.RuntimeProjectDependency): Boolean