aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/model/aditionalExtras.kt
blob: 69e89a2ad6d9e2e8f17908788af8e39accd6ddcc (plain)
1
2
3
4
5
6
7
8
9
10
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
}