aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/links/DRI.kt
diff options
context:
space:
mode:
authorBłażej Kardyś <bkardys@virtuslab.com>2020-01-20 19:30:36 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-01-28 22:05:38 +0100
commit172c7ab00771e3a447ea03c3a81d589eb932c3fb (patch)
tree42e2e03d499496970137e686afbbc07246649a5e /core/src/main/kotlin/links/DRI.kt
parent154c3f0d83ea5f9990a06962ba8cfc36a832e04d (diff)
downloaddokka-172c7ab00771e3a447ea03c3a81d589eb932c3fb.tar.gz
dokka-172c7ab00771e3a447ea03c3a81d589eb932c3fb.tar.bz2
dokka-172c7ab00771e3a447ea03c3a81d589eb932c3fb.zip
Adding java files psi parsing
Diffstat (limited to 'core/src/main/kotlin/links/DRI.kt')
-rw-r--r--core/src/main/kotlin/links/DRI.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/main/kotlin/links/DRI.kt b/core/src/main/kotlin/links/DRI.kt
index 0fe2900b..404813fa 100644
--- a/core/src/main/kotlin/links/DRI.kt
+++ b/core/src/main/kotlin/links/DRI.kt
@@ -110,6 +110,11 @@ sealed class TypeReference {
}
}
+data class JavaClassReference(val name: String): TypeReference() {
+ override val isNullable = true
+ override fun toString(): String = name
+}
+
data class TypeParam(val bounds: List<TypeReference>, override val isNullable: Boolean) : TypeReference()
data class TypeConstructor(