analyzeFilesWithJavaIntegration
fun analyzeFilesWithJavaIntegration(project: Project, files: Collection<KtFile>, trace: BindingTrace, configuration: CompilerConfiguration, packagePartProvider: (GlobalSearchScope) -> PackagePartProvider, declarationProviderFactory: (StorageManager, Collection<KtFile>) -> DeclarationProviderFactory = ::FileBasedDeclarationProviderFactory, sourceModuleSearchScope: GlobalSearchScope = TopDownAnalyzerFacadeForJVM.newModuleSearchScope(
project,
files
), klibList: List<KotlinLibrary> = emptyList(), explicitModuleDependencyList: List<ModuleDescriptorImpl> = emptyList(), explicitModuleFriendsList: List<ModuleDescriptorImpl> = emptyList(), explicitCompilerEnvironment: TargetEnvironment = CompilerEnvironment): AnalysisResult(source)
Performs the full analysis of this source set/configuration, returning the AnalysisResult so that we can use the BindingContext for type resolution.
Note that this process is eager, and can be very time-consuming for large projects. This function is called when the lazy bindingContext is accessed.