/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiItem.kt | 40 override var documentation: String, variable 50 override var docOnly = documentation.contains("@doconly") 51 @Suppress("LeakingThis") override var removed = documentation.contains("@removed") 57 documentation.contains('@') && in <lambda>() 58 (documentation.contains("@hide") || in <lambda>() 59 documentation.contains("@pending") || in <lambda>() 61 documentation.contains("@suppress")) || hasHideAnnotation() in <lambda>() 77 if (documentation.isBlank()) { in findTagDocumentation() 84 val docComment = codebase.getComment(documentation) in findTagDocumentation() 153 documentation = addUniqueTag(documentation, tagSection, comment) in appendDocumentation() [all …]
|
D | PsiPropertyItem.kt | 36 documentation: String, in <lambda>() 46 documentation = documentation, in <lambda>() 101 val documentation = in <lambda>() constant 107 val modifiers = modifiers(codebase, psiMethod, documentation) in <lambda>() 136 documentation = documentation, in <lambda>()
|
D | PsiMemberItem.kt | 31 documentation: String, 38 documentation = documentation,
|
D | PsiMethodItem.kt | 58 documentation: String, in <lambda>() 67 documentation = documentation, in <lambda>() 106 if (documentation == "") return documentation in <lambda>() 107 val comment = codebase.getComment(documentation) in <lambda>() 108 val end = findFirstTag(comment)?.textRange?.startOffset ?: documentation.length in <lambda>() 343 documentation = commentText, in <lambda>() 394 documentation = original.documentation, in <lambda>()
|
D | Javadoc.kt | 523 fun containsLinkTags(documentation: String): Boolean { in containsLinkTags() 526 index = documentation.indexOf('@', index) in containsLinkTags() 531 !documentation.startsWith("@code", index) && in containsLinkTags() 532 !documentation.startsWith("@literal", index) && in containsLinkTags() 533 !documentation.startsWith("@param", index) && in containsLinkTags() 534 !documentation.startsWith("@deprecated", index) && in containsLinkTags() 535 !documentation.startsWith("@inheritDoc", index) && in containsLinkTags() 536 !documentation.startsWith("@return", index) in containsLinkTags() 551 fun toFullyQualifiedDocumentation(owner: PsiItem, documentation: String): String { in toFullyQualifiedDocumentation() 552 if (documentation.isBlank() || !containsLinkTags(documentation)) { in toFullyQualifiedDocumentation() [all …]
|
D | PsiPackageItem.kt | 31 documentation: String, 39 documentation = documentation, 145 documentation = commentText, in hashCode()
|
D | PsiConstructorItem.kt | 42 documentation: String, 53 documentation = documentation, 100 documentation = commentText, in isImplicitConstructor() 133 documentation = "", in isImplicitConstructor()
|
D | PsiFieldItem.kt | 40 documentation: String, 48 documentation = documentation, 144 documentation = commentText, in create()
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbinePackageItem.kt | 30 documentation: String, 32 ) : TurbineItem(codebase, fileLocation, modifiers, documentation, isInitiallyHidden), PackageItem { 44 documentation: String, in create() 55 documentation, in create() 63 fun updateOriginallyHiddenStatus(documentation: String) { in containingClass() 66 documentation.contains("@hide") || in containingClass() 67 documentation.contains("@pending") || in containingClass()
|
D | TurbineItem.kt | 28 final override var documentation: String, variable 36 override var docOnly: Boolean = documentation.contains("@doconly") 41 documentation.contains("@hide") || in <lambda>() 42 documentation.contains("@pending") || in <lambda>()
|
D | TurbineFieldItem.kt | 32 documentation: String, 36 TurbineMemberItem(codebase, fileLocation, modifiers, documentation, containingClass), 65 documentation, in hashCode()
|
D | TurbineMemberItem.kt | 28 documentation: String, 30 ) : TurbineItem(codebase, fileLocation, modifiers, documentation), MemberItem {
|
D | TurbineMethodItem.kt | 39 documentation: String, 42 TurbineMemberItem(codebase, fileLocation, modifiers, documentation, containingClass), 112 documentation, in duplicate()
|
D | TurbineConstructorItem.kt | 36 documentation: String, 47 documentation,
|
/tools/metalava/ |
D | USAGE.md | 17 - Java stubs for docs generation (`--doc-stubs`) for passing to documentation tools 18 - Documentation stub enhancement (`--enhance-documentation`) 19 - Injecting `added in API level` into documentation stubs (`--apply-api-levels`) 20 - Generating API levels information for documentation and SDK (`--generate-api-levels`) 21 - Documentation rewriting for documentation stubs (`--replace-documentation`) used by libcore
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | JavadocTest.kt | 85 fun `Relative documentation links in stubs`() { in Relative documentation links in stubs() 266 fun `Rewrite relative documentation links in doc-stubs`() { in Rewrite relative documentation links in doc-stubs() 369 fun `Rewrite relative documentation links in doc-stubs 2`() { in Rewrite relative documentation links in doc-stubs 2() 450 fun `Rewrite relative documentation links in doc-stubs 3`() { in Rewrite relative documentation links in doc-stubs 3() 523 fun `Rewrite relative documentation links in doc-stubs but preserve custom link text`() { in Rewrite relative documentation links in doc-stubs but preserve custom link text() 596 fun `Rewrite relative documentation links in doc-stubs 4`() { in Rewrite relative documentation links in doc-stubs 4() 725 fun `Rewrite relative documentation links in doc-stubs 5`() { in Rewrite relative documentation links in doc-stubs 5()
|
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiPropertyItemTest.kt | 299 fun `properties have documentation`() { in properties have documentation() 322 assertContains(parameter.documentation, "parameter doc") in properties have documentation() 323 assertContains(body.documentation, "body doc") in properties have documentation() 324 assertContains(accessors.documentation, "accessors property doc") in properties have documentation() 325 assertContains(accessors.getter?.documentation.orEmpty(), "getter doc") in properties have documentation() 326 assertContains(accessors.setter?.documentation.orEmpty(), "setter doc") in properties have documentation()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/ |
D | DocAnalyzer.kt | 237 if (text.isBlank() || item.documentation.contains(text)) { in <lambda>() 264 item.documentation in <lambda>() 610 val documentation = cls.findTagDocumentation(tag) in <lambda>() constant 611 if (documentation != null) { in <lambda>() 612 assert(documentation.startsWith("@$tag")) { documentation } in <lambda>() 616 documentation.startsWith("@returnDoc") -> "@return" in <lambda>() 617 documentation.startsWith("@paramDoc") -> "@param" in <lambda>() 618 documentation.startsWith("@memberDoc") -> null in <lambda>() 623 stripLeadingAsterisks(stripMetaTags(documentation.substring(tag.length + 2))) in <lambda>() 679 var doc = item.documentation in <lambda>() [all …]
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/doc/ |
D | DocAnalyzerTest.kt | 45 fun `Basic documentation generation test`() { in Basic documentation generation test() 372 fun `Merging in documentation snippets from annotation memberDoc and classDoc`() { in Merging in documentation snippets from annotation memberDoc and classDoc() 550 fun `Create method documentation from nothing`() { in Create method documentation from nothing() 634 fun `Add to existing single-line method documentation`() { in Add to existing single-line method documentation() 678 fun `Add to existing multi-line method documentation`() { in Add to existing multi-line method documentation() 780 fun `test documentation trim utility`() { in test documentation trim utility()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | AndroidApiChecks.kt | 112 val doc = item.documentation in findDocumentation() 185 if (item.documentation.contains("TODO:") || item.documentation.contains("TODO(")) { in checkTodos() 191 val text = method.documentation in checkRequiresPermission() 249 val text = field.documentation in checkIntentAction()
|
/tools/external_updater/docs/ |
D | dev.md | 1 # external_updater developer documentation 3 The documentation on this page is for developers of `external_updater`. If 4 you're looking for user documentation, see the [README.md].
|
/tools/metalava/metalava/src/test/resources/ |
D | source-model-provider-baseline.txt | 94 Relative documentation links in stubs[turbine] 97 Rewrite relative documentation links in doc-stubs 3[turbine] 98 Rewrite relative documentation links in doc-stubs 4[turbine] 99 Rewrite relative documentation links in doc-stubs but preserve custom link text[turbine] 100 Rewrite relative documentation links in doc-stubs[turbine] 207 Add to existing multi-line method documentation[turbine] 208 Add to existing single-line method documentation[turbine] 212 Basic documentation generation test[turbine] 215 Create method documentation from nothing[turbine] 221 Merging in documentation snippets from annotation memberDoc and classDoc[turbine] [all …]
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | Item.kt | 108 var documentation: String in isHiddenOrRemoved() variable 209 fun fullyQualifiedDocumentation(): String = documentation in fullyQualifiedDocumentation() 212 fun fullyQualifiedDocumentation(documentation: String): String = documentation in fullyQualifiedDocumentation()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/stub/ |
D | StubsPackageInfoTest.kt | 83 fun `Test package-info documentation in stubs`() { in Test package-info documentation in stubs() 126 fun `Test package-info documentation in doc stubs`() { in Test package-info documentation in doc stubs()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | StubWriter.kt | 100 config.includeDocumentationInStubs && pkg.documentation.isNotBlank() in writePackageInfo() 282 val documentation = item.fullyQualifiedDocumentation() in apiPredicate() constant 283 if (documentation.isNotBlank()) { in apiPredicate() 284 val trimmed = trimDocIndent(documentation) in apiPredicate()
|