getDeclarationDiagnostics

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