diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2022-09-12 15:33:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-12 15:33:15 +0200 |
commit | e88a21e933ca7cb58898c924afe53e08130abfe9 (patch) | |
tree | 3f03a4af152acd325d6ac4106f29e7f8453287c8 | |
parent | 56ff8f3f24209bc9edaece876c56bd3fde1fbf8a (diff) | |
download | dokka-e88a21e933ca7cb58898c924afe53e08130abfe9.tar.gz dokka-e88a21e933ca7cb58898c924afe53e08130abfe9.tar.bz2 dokka-e88a21e933ca7cb58898c924afe53e08130abfe9.zip |
Open `processFunction` function (#2655)
Fixes #2654
-rw-r--r-- | plugins/base/api/base.api | 2 | ||||
-rw-r--r-- | plugins/base/src/main/kotlin/transformers/documentables/DocumentableReplacerTransformer.kt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/base/api/base.api b/plugins/base/api/base.api index 257583ac..c299d547 100644 --- a/plugins/base/api/base.api +++ b/plugins/base/api/base.api @@ -1175,7 +1175,7 @@ public abstract class org/jetbrains/dokka/base/transformers/documentables/Docume protected fun processBound (Lorg/jetbrains/dokka/model/Bound;)Lorg/jetbrains/dokka/base/transformers/documentables/DocumentableReplacerTransformer$AnyWithChanges; protected fun processClassLike (Lorg/jetbrains/dokka/model/DClasslike;)Lorg/jetbrains/dokka/base/transformers/documentables/DocumentableReplacerTransformer$AnyWithChanges; protected fun processEnumEntry (Lorg/jetbrains/dokka/model/DEnumEntry;)Lorg/jetbrains/dokka/base/transformers/documentables/DocumentableReplacerTransformer$AnyWithChanges; - protected final fun processFunction (Lorg/jetbrains/dokka/model/DFunction;)Lorg/jetbrains/dokka/base/transformers/documentables/DocumentableReplacerTransformer$AnyWithChanges; + protected fun processFunction (Lorg/jetbrains/dokka/model/DFunction;)Lorg/jetbrains/dokka/base/transformers/documentables/DocumentableReplacerTransformer$AnyWithChanges; protected fun processFunctionalTypeConstructor (Lorg/jetbrains/dokka/model/FunctionalTypeConstructor;)Lorg/jetbrains/dokka/base/transformers/documentables/DocumentableReplacerTransformer$AnyWithChanges; protected fun processGenericTypeConstructor (Lorg/jetbrains/dokka/model/GenericTypeConstructor;)Lorg/jetbrains/dokka/base/transformers/documentables/DocumentableReplacerTransformer$AnyWithChanges; protected fun processModule (Lorg/jetbrains/dokka/model/DModule;)Lorg/jetbrains/dokka/base/transformers/documentables/DocumentableReplacerTransformer$AnyWithChanges; diff --git a/plugins/base/src/main/kotlin/transformers/documentables/DocumentableReplacerTransformer.kt b/plugins/base/src/main/kotlin/transformers/documentables/DocumentableReplacerTransformer.kt index f5ef8ed1..608357d5 100644 --- a/plugins/base/src/main/kotlin/transformers/documentables/DocumentableReplacerTransformer.kt +++ b/plugins/base/src/main/kotlin/transformers/documentables/DocumentableReplacerTransformer.kt @@ -116,7 +116,7 @@ abstract class DocumentableReplacerTransformer(val context: DokkaContext) : )).let { AnyWithChanges(it, wasChanged) } } - protected fun processFunction(dFunction: DFunction): AnyWithChanges<DFunction> { + protected open fun processFunction(dFunction: DFunction): AnyWithChanges<DFunction> { val type = processBound(dFunction.type) val parameters = dFunction.parameters.map { processParameter(it) } val receiver = dFunction.receiver?.let { processParameter(it) } @@ -225,4 +225,4 @@ abstract class DocumentableReplacerTransformer(val context: DokkaContext) : protected data class AnyWithChanges<out T>(val target: T?, val changed: Boolean = false) -}
\ No newline at end of file +} |