aboutsummaryrefslogtreecommitdiff
path: root/src/Model/DocumentationBuilder.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-11 22:01:10 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-11 22:01:10 +0400
commitc0f820f4a4dfddbee06cb4c62a3b4609611dac62 (patch)
tree86cec76c0dcac0f8ee4048829fa722d4c183906b /src/Model/DocumentationBuilder.kt
parenta8e59d7af41ca05b68e2d916552cecbbacbf3e92 (diff)
downloaddokka-c0f820f4a4dfddbee06cb4c62a3b4609611dac62.tar.gz
dokka-c0f820f4a4dfddbee06cb4c62a3b4609611dac62.tar.bz2
dokka-c0f820f4a4dfddbee06cb4c62a3b4609611dac62.zip
Test for docs on parameters, cleanup.
Diffstat (limited to 'src/Model/DocumentationBuilder.kt')
-rw-r--r--src/Model/DocumentationBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Model/DocumentationBuilder.kt b/src/Model/DocumentationBuilder.kt
index 08298926..e28d437f 100644
--- a/src/Model/DocumentationBuilder.kt
+++ b/src/Model/DocumentationBuilder.kt
@@ -5,7 +5,7 @@ import org.jetbrains.jet.lang.psi.*
import org.jetbrains.jet.lang.descriptors.*
import org.jetbrains.jet.lang.descriptors.impl.*
-fun BindingContext.createDocumentation(file: JetFile): DocumentationModel {
+fun BindingContext.createSourceModel(file: JetFile): DocumentationModel {
val model = DocumentationModel()
val packageFragment = getPackageFragment(file)
if (packageFragment == null) throw IllegalArgumentException("File $file should have package fragment")