aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Mashkov <sergey.mashkov@jetbrains.com>2015-08-06 14:35:24 +0300
committerSergey Mashkov <sergey.mashkov@jetbrains.com>2015-08-06 14:35:24 +0300
commitb0b94df732fc6fa7a8c64da2398d729e57af74ca (patch)
tree179e15f1a3f7b4d7cb873fd366f6b7b904b7de63 /src
parent77d86195540e5486dd2520601e67404dc033ab42 (diff)
downloaddokka-b0b94df732fc6fa7a8c64da2398d729e57af74ca.tar.gz
dokka-b0b94df732fc6fa7a8c64da2398d729e57af74ca.tar.bz2
dokka-b0b94df732fc6fa7a8c64da2398d729e57af74ca.zip
~ remove unused function
Diffstat (limited to 'src')
-rw-r--r--src/Kotlin/DocumentationBuilder.kt7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt
index 8e36ae43..7f3063af 100644
--- a/src/Kotlin/DocumentationBuilder.kt
+++ b/src/Kotlin/DocumentationBuilder.kt
@@ -17,9 +17,7 @@ import org.jetbrains.kotlin.lexer.JetSingleValueToken
import org.jetbrains.kotlin.name.FqName
import org.jetbrains.kotlin.psi.JetParameter
import org.jetbrains.kotlin.resolve.DescriptorUtils
-import org.jetbrains.kotlin.resolve.constants.CompileTimeConstant
import org.jetbrains.kotlin.resolve.constants.ConstantValue
-import org.jetbrains.kotlin.resolve.constants.TypedCompileTimeConstant
import org.jetbrains.kotlin.resolve.lazy.ResolveSession
import org.jetbrains.kotlin.resolve.source.PsiSourceElement
import org.jetbrains.kotlin.resolve.source.getPsi
@@ -697,11 +695,6 @@ class DocumentationBuilder(val resolutionFacade: ResolutionFacade,
return node
}
- fun CompileTimeConstant<Any?>.build(): DocumentationNode? = when (this) {
- is TypedCompileTimeConstant -> constantValue.toDocumentationNode()
- else -> null
- }
-
fun ConstantValue<*>.toDocumentationNode(): DocumentationNode? = value?.let { value ->
when (value) {
is String ->