aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/model/aditionalExtras.kt
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin/model/aditionalExtras.kt')
-rw-r--r--core/src/main/kotlin/model/aditionalExtras.kt11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/src/main/kotlin/model/aditionalExtras.kt b/core/src/main/kotlin/model/aditionalExtras.kt
new file mode 100644
index 00000000..69e89a2a
--- /dev/null
+++ b/core/src/main/kotlin/model/aditionalExtras.kt
@@ -0,0 +1,11 @@
+package org.jetbrains.dokka.model
+
+import org.jetbrains.dokka.model.properties.ExtraProperty
+
+class AdditionalModifiers(val content: List<ExtraModifiers>) : ExtraProperty<Documentable> {
+ object AdditionalKey : ExtraProperty.Key<Documentable, AdditionalModifiers>
+
+ override fun equals(other: Any?): Boolean = if (other is AdditionalModifiers) other.content == content else false
+ override fun hashCode() = content.hashCode()
+ override val key: ExtraProperty.Key<Documentable, *> = AdditionalKey
+} \ No newline at end of file