FileDeclaration
@Serializable
Represents a source file declaration containing classes, functions, properties, and imports.
Constructors
Link copied to clipboard
constructor(name: String, packageName: String, imports: List<String> = emptyList(), classes: List<ClassDeclaration> = emptyList(), topLevelFunctions: List<FunctionDeclaration> = emptyList(), topLevelProperties: List<PropertyDeclaration> = emptyList(), kdocText: String? = null, filePath: String = "", importAliases: Map<String, String> = emptyMap(), sourceSets: List<SourceSetId> = emptyList(), usages: List<SourceUsage> = emptyList(), annotations: List<AnnotationDeclaration> = emptyList())
Properties
Link copied to clipboard
Filter or assertion criteria for file-level annotations.
Link copied to clipboard
Filter or assertion criteria for classes.
Link copied to clipboard
Filter or assertion criteria for import aliases.
Link copied to clipboard
Filter or assertion criteria for package name.
Link copied to clipboard
Filter or assertion criteria for source sets.
Link copied to clipboard
Filter or assertion criteria for top level functions.
Link copied to clipboard
Filter or assertion criteria for top level properties.
Link copied to clipboard
Filter or assertion criteria for usages.