Home
last modified time | relevance | path

Searched refs:documentation (Results 1 – 25 of 43) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiItem.kt37 override var documentation: String variable in com.android.tools.metalava.model.psi.PsiItem
44 override var docOnly = documentation.contains("@doconly")
46 override var removed = documentation.contains("@removed")
69 documentation.contains('@') && in <lambda>()
71 (documentation.contains("@hide") || in <lambda>()
72 documentation.contains("@pending") || in <lambda>()
74 documentation.contains("@suppress")) || in <lambda>()
100 if (documentation.isBlank()) { in isCloned()
107 val docComment = codebase.getComment(documentation) in isCloned()
162 documentation = addUniqueTag(documentation, tagSection, comment) in appendDocumentation()
[all …]
DJavadoc.kt523 fun containsLinkTags(documentation: String): Boolean { in containsLinkTags()
526 index = documentation.indexOf('@', index) in containsLinkTags()
530 if (!documentation.startsWith("@code", index) && in containsLinkTags()
531 !documentation.startsWith("@literal", index) && in containsLinkTags()
532 !documentation.startsWith("@param", index) && in containsLinkTags()
533 !documentation.startsWith("@deprecated", index) && in containsLinkTags()
534 !documentation.startsWith("@inheritDoc", index) && in containsLinkTags()
535 !documentation.startsWith("@return", index) in containsLinkTags()
548 fun toFullyQualifiedDocumentation(owner: PsiItem, documentation: String): String { in toFullyQualifiedDocumentation()
549 if (documentation.isBlank() || !containsLinkTags(documentation)) { in toFullyQualifiedDocumentation()
[all …]
DPsiPackageItem.kt29 documentation: String
34 documentation = documentation,
148 documentation = commentText, in create()
160 documentation = original.documentation, in create()
DPsiParameterItem.kt37 documentation: String,
42 documentation = documentation,
198 documentation = commentText, in create()
215 documentation = original.documentation, in create()
DPsiMethodItem.kt54 documentation: String, in <lambda>()
61 documentation = documentation, in <lambda>()
394 documentation = commentText, in <lambda>()
413 documentation = original.documentation, in <lambda>()
DPsiConstructorItem.kt37 documentation: String, in <lambda>()
45 documentation = documentation, in <lambda>()
124 documentation = commentText, in <lambda>()
151 documentation = "", in <lambda>()
DPsiClassItem.kt58 documentation: String in <lambda>()
63 documentation = documentation, in <lambda>()
347 newMethod.documentation = method.documentation in <lambda>()
432 documentation = commentText, in <lambda>()
DPsiPropertyItem.kt34 documentation: String,
40 documentation = documentation,
89 documentation = commentText, in toString()
DPsiFieldItem.kt34 documentation: String,
42 documentation = documentation,
130 documentation = commentText, in toString()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocAnalyzer.kt237 if (text.isBlank() || item.documentation.contains(text)) { in <lambda>()
252 if (item.documentation.contains("null") && in <lambda>()
253 mentionsNull.matcher(item.documentation).find() in <lambda>()
565 val documentation = cls.findTagDocumentation(tag) in <lambda>() constant
566 if (documentation != null) { in <lambda>()
567 assert(documentation.startsWith("@$tag")) { documentation } in <lambda>()
570 documentation.startsWith("@returnDoc") -> "@return" in <lambda>()
571 documentation.startsWith("@paramDoc") -> "@param" in <lambda>()
572 documentation.startsWith("@memberDoc") -> null in <lambda>()
576 … val insert = stripLeadingAsterisks(stripMetaTags(documentation.substring(tag.length + 2))) in <lambda>()
[all …]
DAndroidApiChecks.kt99 val doc = item.documentation in findDocumentation()
170 if (item.documentation.contains("TODO:") || item.documentation.contains("TODO(")) { in checkTodos()
176 val text = method.documentation in checkRequiresPermission()
222 val text = field.documentation in checkIntentAction()
DDocReplacement.kt41 val doc = item.documentation in <lambda>()
49 item.documentation = new in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/
DDocAnalyzerTest.kt17 fun `Basic documentation generation test`() { in Basic documentation generation test()
361 fun `Merging in documentation snippets from annotation memberDoc and classDoc`() { in Merging in documentation snippets from annotation memberDoc and classDoc()
652 fun `Create method documentation from nothing`() { in Create method documentation from nothing()
728 fun `Add to existing single-line method documentation`() { in Add to existing single-line method documentation()
769 fun `Add to existing multi-line method documentation`() { in Add to existing multi-line method documentation()
1101 fun `test documentation trim utility`() { in test documentation trim utility()
1915 fun `Invoke external documentation tool`() { in Invoke external documentation tool()
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DJavadocTest.kt84 fun `Relative documentation links in stubs`() { in Relative documentation links in stubs()
183 fun `Rewrite relative documentation links in doc-stubs`() { in Rewrite relative documentation links in doc-stubs()
282 fun `Rewrite relative documentation links in doc-stubs 2`() { in Rewrite relative documentation links in doc-stubs 2()
361 fun `Rewrite relative documentation links in doc-stubs 3`() { in Rewrite relative documentation links in doc-stubs 3()
432 fun `Rewrite relative documentation links in doc-stubs 4`() { in Rewrite relative documentation links in doc-stubs 4()
559 fun `Rewrite relative documentation links in doc-stubs 5`() { in Rewrite relative documentation links in doc-stubs 5()
/tools/metalava/
DREADME.md137 * Misc documentation handling; for example, it attempts to fix sentences that
142 …tent/res/AssetManager.java:166: error: Replaced Kitkat with KitKat in documentation for Method and…
143 …interCapabilitiesInfo.java:122: error: Replaced Kitkat with KitKat in documentation for Method and…
151 * Support for generating documentation into the stubs files (so we can run
153 of the source code). This means that the documentation tool itself does not
156 stub sources that include documentation.
276 just one example, the code which generated documentation for typedef constants
448 As mentioned above, metalava generates documentation directly into the stubs
457 This it not how metalava does it; it generates the English documentation
461 generates the documentation is easier to reason about and to update when it's
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DStubWriter.kt119 if (annotations.isNotEmpty() && generateAnnotations || !pkg.documentation.isBlank()) { in <lambda>()
247 val documentation = if (docStubs) { in appendDocumentation() constant
250 item.documentation in appendDocumentation()
252 if (documentation.isNotBlank()) { in appendDocumentation()
253 val trimmed = trimDocIndent(documentation) in appendDocumentation()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DItem.kt94 var documentation: String in isHiddenOrRemoved() variable
216 fun fullyQualifiedDocumentation(): String = documentation in psi()
219 fun fullyQualifiedDocumentation(documentation: String): String = documentation in psi()
/tools/metalava/src/test/java/com/android/tools/metalava/stub/
DStubsTest.kt3373 fun `Test package-info documentation`() { in <lambda>()
3624 fun `Generate stubs with --exclude-documentation-from-stubs`() { in <lambda>()
3671 fun `Generate documentation stubs with --exclude-documentation-from-stubs`() { in <lambda>()
/tools/security/sanitizer-status/
DNOTICE40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
126 documentation, if provided along with the Derivative Works; or,
/tools/acloud/
DLICENSE28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
114 documentation, if provided along with the Derivative Works; or,
/tools/test/openhst/
DLICENSE28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
114 documentation, if provided along with the Derivative Works; or,
/tools/apksig/
DLICENSE40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
126 documentation, if provided along with the Derivative Works; or,
/tools/treble/
DLICENSE28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
114 documentation, if provided along with the Derivative Works; or,
/tools/trebuchet/
DLICENSE28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
114 documentation, if provided along with the Derivative Works; or,
/tools/repohooks/tools/
Dspelling.txt419 docuentation||documentation
420 documantation||documentation
421 documentaion||documentation

12