Home
last modified time | relevance | path

Searched refs:docComment (Results 1 – 2 of 2) sorted by relevance

/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiItem.kt84 val docComment = codebase.getComment(documentation) in findTagDocumentation() constant
87 docComment.findTagByName(tag) in findTagDocumentation()
89 docComment.findTagsByName(tag).firstOrNull { it.valueElement?.text == value } in findTagDocumentation()
249 return element.docComment?.text.orEmpty() in javadoc()
268 if (element is PsiDocCommentOwner && element.docComment !is PsiCompiledElement) { in javadoc()
269 return element.docComment?.text ?: "" in javadoc()
DJavadoc.kt123 val docComment = factory.createDocCommentFromText(doc) in mergeDocumentation() constant
127 val returnTag = docComment.findTagByName("return") in mergeDocumentation()
130 val lastTag = findLastTag(docComment) in mergeDocumentation()
147 if (tagSection.startsWith("@")) docComment.findTagByName(tagSection.substring(1)) in mergeDocumentation()
148 else findParamTag(docComment, tagSection) in mergeDocumentation()
159 val returnTag = docComment.findTagByName("return") in mergeDocumentation()
160 val anchor = returnTag ?: findLastTag(docComment) in mergeDocumentation()
178 val firstTag = findFirstTag(docComment) in mergeDocumentation()
188 internal fun findParamTag(docComment: PsiDocComment, paramName: String): PsiDocTag? { in findParamTag()
189 return docComment.findTagsByName("param").firstOrNull { it.valueElement?.text == paramName } in findParamTag()
[all …]