FileDeclarationContext
data class FileDeclarationContext(val declaration: FileDeclaration, val modulePath: String, val sourceSet: SourceSetId? = null)
Context wrapper for verifying source file declarations.
Provides both the target declaration and architectural metadata to easily query scope.
Properties
Link copied to clipboard
Delegates classes property to the underlying FileDeclaration.
Link copied to clipboard
Filter or assertion criteria for declaration.
Link copied to clipboard
Delegates imports property to the underlying FileDeclaration.
Link copied to clipboard
Filter or assertion criteria for module path.
Link copied to clipboard
Delegates name property to the underlying FileDeclaration.
Link copied to clipboard
Delegates packageName property to the underlying FileDeclaration.
Link copied to clipboard
Filter or assertion criteria for source set.
Link copied to clipboard
Delegates topLevelFunctions property to the underlying FileDeclaration.
Link copied to clipboard
Delegates topLevelProperties property to the underlying FileDeclaration.