aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-15 17:31:26 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-15 17:31:26 +0400
commiteebfdd41acc897ba9177f1c8daa428a079c8e99f (patch)
tree5f4a34e0f5fc4db5afd58eb4d089db105f300853
parent76e5d70c3e383bfaae688e8308d6dce6ba63f618 (diff)
downloaddokka-eebfdd41acc897ba9177f1c8daa428a079c8e99f.tar.gz
dokka-eebfdd41acc897ba9177f1c8daa428a079c8e99f.tar.bz2
dokka-eebfdd41acc897ba9177f1c8daa428a079c8e99f.zip
Speed up analysis by not processing function bodies.
-rw-r--r--src/Analysis/CompilerAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Analysis/CompilerAPI.kt b/src/Analysis/CompilerAPI.kt
index 66e8a76c..d874464f 100644
--- a/src/Analysis/CompilerAPI.kt
+++ b/src/Analysis/CompilerAPI.kt
@@ -39,7 +39,7 @@ fun JetCoreEnvironment.analyze(messageCollector: MessageCollector): AnalyzeExhau
val sharedModule = support.getModule()
val compilerConfiguration = getConfiguration()!!
AnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration(project, sourceFiles, sharedTrace,
- Predicates.alwaysTrue<PsiFile>(),
+ Predicates.alwaysFalse<PsiFile>(),
sharedModule,
compilerConfiguration.get(JVMConfigurationKeys.MODULE_IDS),
compilerConfiguration.get(JVMConfigurationKeys.INCREMENTAL_CACHE_BASE_DIR))