Home
last modified time | relevance | path

Searched refs:PsiElement (Results 1 – 9 of 9) sorted by relevance

/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiFileLocation.kt27 import com.intellij.psi.PsiElement
46 class PsiFileLocation(private val psiElement: PsiElement) : FileLocation() {
131 fun fromPsiElement(element: PsiElement?): FileLocation { in fromPsiElement()
135 private fun getTextRange(element: PsiElement): TextRange? { in getTextRange()
142 range = (element as PsiElement).textRange in getTextRange()
167 internal fun getBaselineKey(element: PsiElement?): BaselineKey { in getBaselineKey()
182 private fun getElementId(element: PsiElement): String { in getElementId()
234 fun Reporter.report(id: Issues.Issue, element: PsiElement?, message: String): Boolean { in Reporter()
DKotlinTypeInfo.kt20 import com.intellij.psi.PsiElement in <lambda>()
52 val context: PsiElement, in <lambda>()
59 constructor(context: PsiElement) : this(null, null, context) in <lambda>()
174 fun fromContext(context: PsiElement): KotlinTypeInfo { in <lambda>()
195 private fun fromKtElement(ktElement: KtElement, context: PsiElement): KotlinTypeInfo? = in <lambda>()
251 private fun typeFromSyntheticElement(context: PsiElement): KotlinTypeInfo? { in <lambda>()
320 context: PsiElement, in <lambda>()
DPsiItem.kt26 import com.intellij.psi.PsiElement
37 element: PsiElement,
54 internal val sourcePsi: PsiElement? = (element as? UElement)?.sourcePsi
67 abstract fun psi(): PsiElement in psi()
240 internal fun javadoc(element: PsiElement, allowReadingComments: Boolean): String { in javadoc()
286 fun PsiElement.isKotlin(): Boolean { in isKotlin() method
DPsiSourceFile.kt26 import com.intellij.psi.PsiElement
68 var curr: PsiElement? = file.firstChild in getHeaderComments()
DJavadoc.kt27 import com.intellij.psi.PsiElement
86 psiElement: PsiElement, in mergeDocumentation()
201 var curr: PsiElement? = tag.nextSibling in findTagEnd()
599 private fun expand(owner: PsiItem, element: PsiElement, sb: StringBuilder) { in expand()
1059 val salientElement: PsiElement = in extractReference()
1070 val salientElement: PsiElement = in extractCustomLinkText()
DPsiBasedCodebase.kt47 import com.intellij.psi.PsiElement in <lambda>()
766 internal fun getComment(string: String, parent: PsiElement? = null): PsiDocComment = in <lambda>()
848 internal fun createPsiMethod(s: String, parent: PsiElement? = null): PsiMethod = in <lambda>()
851 internal fun createPsiType(s: String, parent: PsiElement? = null): PsiType = in <lambda>()
854 private fun createPsiAnnotation(s: String, parent: PsiElement? = null): PsiAnnotation = in <lambda>()
DPsiTypeItemFactory.kt37 import com.intellij.psi.PsiElement in <lambda>()
54 data class PsiTypeInfo(val psiType: PsiType, val context: PsiElement? = null) in <lambda>()
98 context: PsiElement? = null, in <lambda>()
DCodePrinter.kt32 import com.intellij.psi.PsiElement
75 private fun warning(message: String, psiElement: PsiElement? = null) { in warning()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DExtractAnnotations.kt47 import com.intellij.psi.PsiElement in <lambda>()
312 value as PsiElement, in <lambda>()