aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-03-25 15:51:51 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-03-25 15:58:37 +0100
commit40c3650b2e51d06a10ba204c79ca5c94d390a513 (patch)
treec834da7008e3dfdb5cea43a5765ccf80f5774c65 /core
parentaf9d525d75a517a5a7cb39d30fd4b2c9e8b93837 (diff)
downloaddokka-40c3650b2e51d06a10ba204c79ca5c94d390a513.tar.gz
dokka-40c3650b2e51d06a10ba204c79ca5c94d390a513.tar.bz2
dokka-40c3650b2e51d06a10ba204c79ca5c94d390a513.zip
Introduce VoidObject and JavaObject
Diffstat (limited to 'core')
-rw-r--r--core/src/main/kotlin/model/Documentable.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/kotlin/model/Documentable.kt b/core/src/main/kotlin/model/Documentable.kt
index 0f9e1404..6b41b51e 100644
--- a/core/src/main/kotlin/model/Documentable.kt
+++ b/core/src/main/kotlin/model/Documentable.kt
@@ -335,8 +335,8 @@ data class Variance(val kind: Kind, val inner: Bound) : Projection() {
enum class Kind { In, Out }
}
data class PrimitiveJavaType(val name: String): Bound()
-
-val VoidBound = PrimitiveJavaType("void")
+object Void : Bound()
+object JavaObject : Bound()
enum class FunctionModifiers {
NONE, FUNCTION, EXTENSION