Skip to content

Commit

Permalink
Apply suppressInheritedMembers flag
Browse files Browse the repository at this point in the history
  • Loading branch information
vmishenev committed Aug 24, 2022
1 parent 73d689b commit fecc72d
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -17,7 +17,12 @@ import org.jetbrains.dokka.utilities.parallelMap

class ExtensionExtractorTransformer : DocumentableTransformer {
override fun invoke(original: DModule, context: DokkaContext): DModule = runBlocking(Dispatchers.Default) {
val classGraph = async { FullClassHierarchyBuilder()(original) }
val classGraph = async {
if (!context.configuration.suppressInheritedMembers)
FullClassHierarchyBuilder()(original)
else
emptyMap()
}

val channel = Channel<Pair<DRI, Callable>>(10)
launch {
Expand Down

0 comments on commit fecc72d

Please sign in to comment.