aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Model/DocumentationNode.kt
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:53:48 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:53:48 +0000
commit4b87ae3bf859379d4ef57961be6cab3e94136c62 (patch)
treebcf74e351e509e16d04c9161307f9944ebc11be1 /core/src/main/kotlin/Model/DocumentationNode.kt
parentbb7e0295cbbcb0cd1b298055a5d68289f1cfe96f (diff)
parent2cb80150c4bcdcd31dc10a82ef5a17f7a73a0ee5 (diff)
downloaddokka-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/Model/DocumentationNode.kt')
-rw-r--r--core/src/main/kotlin/Model/DocumentationNode.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Model/DocumentationNode.kt b/core/src/main/kotlin/Model/DocumentationNode.kt
index c84d4169d..7ac6d8f4a 100644
--- a/core/src/main/kotlin/Model/DocumentationNode.kt
+++ b/core/src/main/kotlin/Model/DocumentationNode.kt
@@ -64,6 +64,7 @@ enum class NodeKind {
AttributeRef,
ApiLevel,
+ SdkExtSince,
DeprecatedLevel,
@@ -120,6 +121,8 @@ open class DocumentationNode(val name: String,
get() = references(RefKind.ExternalType).map { it.to }.firstOrNull()
val apiLevel: DocumentationNode
get() = detailOrNull(NodeKind.ApiLevel) ?: DocumentationNode("", Content.Empty, NodeKind.ApiLevel)
+ val sdkExtSince: DocumentationNode
+ get() = detailOrNull(NodeKind.SdkExtSince) ?: DocumentationNode("", Content.Empty, NodeKind.SdkExtSince)
val deprecatedLevel: DocumentationNode
get() = detailOrNull(NodeKind.DeprecatedLevel) ?: DocumentationNode("", Content.Empty, NodeKind.DeprecatedLevel)
val artifactId: DocumentationNode