aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/javadoc')
-rw-r--r--plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/pages/JavadocContentNodes.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/pages/JavadocContentNodes.kt b/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/pages/JavadocContentNodes.kt
index 2c9ee013..5816ad3c 100644
--- a/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/pages/JavadocContentNodes.kt
+++ b/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/pages/JavadocContentNodes.kt
@@ -17,6 +17,10 @@ abstract class JavadocContentNode(
override val style: Set<Style> = emptySet()
override val extra: PropertyContainer<ContentNode> = PropertyContainer.empty()
override fun withNewExtras(newExtras: PropertyContainer<ContentNode>): ContentNode = this
+
+ // TODO: Support needed?
+ override fun withSourceSets(sourceSets: Set<ContentSourceSet>): JavadocContentNode = this
+
}
interface JavadocList {
@@ -41,6 +45,9 @@ class EmptyNode(
override fun withNewExtras(newExtras: PropertyContainer<ContentNode>): ContentNode =
EmptyNode(dci.dri.first(), dci.kind, sourceSets, newExtras)
+ override fun withSourceSets(sourceSets: Set<ContentSourceSet>): ContentNode =
+ EmptyNode(dci.dri.first(), dci.kind, sourceSets, extra)
+
override fun hasAnyContent(): Boolean = false
}