diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-01-08 18:18:17 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-01-08 18:18:17 +0100 |
commit | 340816d48532786ff7de481e84a890273bfd1e9a (patch) | |
tree | 449998b41704eab19e288425f2b91c7325602176 /core | |
parent | 931a37df263768f0642b8bd41192e7caf0701ff7 (diff) | |
download | dokka-340816d48532786ff7de481e84a890273bfd1e9a.tar.gz dokka-340816d48532786ff7de481e84a890273bfd1e9a.tar.bz2 dokka-340816d48532786ff7de481e84a890273bfd1e9a.zip |
delete a bit of dead code
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/kotlin/Kotlin/DocumentationBuilder.kt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt index aaaffd6f..4c7c75b4 100644 --- a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt +++ b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt @@ -19,9 +19,7 @@ import org.jetbrains.kotlin.name.FqName import org.jetbrains.kotlin.psi.KtModifierListOwner import org.jetbrains.kotlin.psi.KtParameter 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.descriptorUtil.builtIns import org.jetbrains.kotlin.resolve.descriptorUtil.fqNameSafe import org.jetbrains.kotlin.resolve.descriptorUtil.isDocumentedAnnotation @@ -579,11 +577,6 @@ class DocumentationBuilder 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 -> |