diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-02-26 13:16:31 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-03-04 14:28:14 +0100 |
commit | 10874a53b0db00c45d4ab44dfd226672dcf75115 (patch) | |
tree | 0ae29fcd867bf5c559d635d7d8e38183f10e25d0 /core/src/main/kotlin/links/DRI.kt | |
parent | d41b4c65a0ace7e60f19fc9211947d894a0442f1 (diff) | |
download | dokka-10874a53b0db00c45d4ab44dfd226672dcf75115.tar.gz dokka-10874a53b0db00c45d4ab44dfd226672dcf75115.tar.bz2 dokka-10874a53b0db00c45d4ab44dfd226672dcf75115.zip |
Sketch of default signature provider
Diffstat (limited to 'core/src/main/kotlin/links/DRI.kt')
-rw-r--r-- | core/src/main/kotlin/links/DRI.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/main/kotlin/links/DRI.kt b/core/src/main/kotlin/links/DRI.kt index 791d2b5e..57ac96e5 100644 --- a/core/src/main/kotlin/links/DRI.kt +++ b/core/src/main/kotlin/links/DRI.kt @@ -68,6 +68,9 @@ val DRI.parent: DRI else -> DRI.topLevel } +val DRI.sureClassNames + get() = classNames ?: throw IllegalStateException("Malformed DRI. It requires classNames in this context.") + data class Callable( val name: String, val receiver: TypeReference? = null, |