diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 04:53:48 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 04:53:48 +0000 |
commit | 4b87ae3bf859379d4ef57961be6cab3e94136c62 (patch) | |
tree | bcf74e351e509e16d04c9161307f9944ebc11be1 /core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt | |
parent | bb7e0295cbbcb0cd1b298055a5d68289f1cfe96f (diff) | |
parent | 2cb80150c4bcdcd31dc10a82ef5a17f7a73a0ee5 (diff) | |
download | dokka-4b87ae3bf859379d4ef57961be6cab3e94136c62.tar.gz |
Snap for 10453563 from 2cb80150c4bcdcd31dc10a82ef5a17f7a73a0ee5 to mainline-extservices-releaseaml_ext_341620040aml_ext_341518010aml_ext_341414010aml_ext_341317010aml_ext_341131030aml_ext_341027030android14-mainline-extservices-release
Change-Id: Ic5d7af84eb5c251b2defe8b2c259d9e01e132363
Diffstat (limited to 'core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt')
-rw-r--r-- | core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt b/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt index 6841503fc..098a17f97 100644 --- a/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt +++ b/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt @@ -142,6 +142,9 @@ class DescriptorDocumentationParser @Inject constructor( } else if (name?.toLowerCase() == "since" || name?.toLowerCase() == "apisince") { val apiLevel = DocumentationNode(it.getContent(), Content.Empty, NodeKind.ApiLevel) append(apiLevel, RefKind.Detail) + } else if (name?.toLowerCase() == "sdkextsince") { + val sdkExtSince = DocumentationNode(it.getContent(), Content.Empty, NodeKind.SdkExtSince) + append(sdkExtSince, RefKind.Detail) } else if (name?.toLowerCase() == "deprecatedsince") { val deprecatedLevel = DocumentationNode(it.getContent(), Content.Empty, NodeKind.DeprecatedLevel) append(deprecatedLevel, RefKind.Detail) @@ -223,6 +226,9 @@ class DescriptorDocumentationParser @Inject constructor( parseResult.apiLevel?.let { node.append(it, RefKind.Detail) } + parseResult.sdkExtSince?.let { + node.append(it, RefKind.Detail) + } parseResult.deprecatedLevel?.let { node.append(it, RefKind.Detail) } |