Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DJavadoc.kt133 val docComment = factory.createDocCommentFromText(doc) in mergeDocumentation() constant
137 val returnTag = docComment.findTagByName("return") in mergeDocumentation()
140 val lastTag = findLastTag(docComment) in mergeDocumentation()
156 docComment.findTagByName(tagSection.substring(1)) in mergeDocumentation()
157 else findParamTag(docComment, tagSection) in mergeDocumentation()
167 val returnTag = docComment.findTagByName("return") in mergeDocumentation()
168 val anchor = returnTag ?: findLastTag(docComment) in mergeDocumentation()
185 val firstTag = findFirstTag(docComment) in mergeDocumentation()
195 fun findParamTag(docComment: PsiDocComment, paramName: String): PsiDocTag? { in findParamTag()
196 return docComment.findTagsByName("param").firstOrNull { it.valueElement?.text == paramName } in findParamTag()
[all …]
DPsiItem.kt85 val docComment = codebase.getComment(documentation) in isCloned() constant
86 val docTag = docComment.findTagByName(tag) ?: return null in isCloned()
230 if (element is PsiDocCommentOwner && element.docComment !is PsiCompiledElement) { in javadoc()
231 return element.docComment?.text ?: "" in javadoc()