aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/kotlin/model/Documentable.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/main/kotlin/model/Documentable.kt b/core/src/main/kotlin/model/Documentable.kt
index 6215be18..00a26d90 100644
--- a/core/src/main/kotlin/model/Documentable.kt
+++ b/core/src/main/kotlin/model/Documentable.kt
@@ -63,7 +63,7 @@ interface WithType {
}
interface WithAbstraction {
- val modifier: Modifier
+ val modifier: PlatformDependent<Modifier>
}
sealed class Modifier(val name: String)
@@ -146,7 +146,7 @@ data class DClass(
override val generics: List<DTypeParameter>,
override val supertypes: PlatformDependent<List<DRI>>,
override val documentation: PlatformDependent<DocumentationNode>,
- override val modifier: Modifier,
+ override val modifier: PlatformDependent<Modifier>,
override val platformData: List<PlatformData>,
override val extra: PropertyContainer<DClass> = PropertyContainer.empty()
) : DClasslike(), WithAbstraction, WithCompanion, WithConstructors, WithGenerics, WithSupertypes,
@@ -207,7 +207,7 @@ data class DFunction(
override val type: Bound,
override val generics: List<DTypeParameter>,
override val receiver: DParameter?,
- override val modifier: Modifier,
+ override val modifier: PlatformDependent<Modifier>,
override val platformData: List<PlatformData>,
override val extra: PropertyContainer<DFunction> = PropertyContainer.empty()
) : Documentable(), Callable, WithGenerics, WithExtraProperties<DFunction> {
@@ -287,7 +287,7 @@ data class DProperty(
override val receiver: DParameter?,
val setter: DFunction?,
val getter: DFunction?,
- override val modifier: Modifier,
+ override val modifier: PlatformDependent<Modifier>,
override val platformData: List<PlatformData>,
override val extra: PropertyContainer<DProperty> = PropertyContainer.empty()
) : Documentable(), Callable, WithExtraProperties<DProperty> {