From 40c3650b2e51d06a10ba204c79ca5c94d390a513 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Wed, 25 Mar 2020 15:51:51 +0100 Subject: Introduce VoidObject and JavaObject --- core/src/main/kotlin/model/Documentable.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src') 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 -- cgit