getDeclarationDiagnostics

abstract fun getDeclarationDiagnostics(sourceFile: SourceFile = definedExternally, cancellationToken: CancellationToken = definedExternally): ReadonlyArray<DiagnosticWithLocation>(source)

Get the declaration diagnostics, for all source files if source file is not supplied