Home
last modified time | relevance | path

Searched refs:PsiType (Results 1 – 3 of 3) sorted by relevance

/compose/lint/common/src/main/java/androidx/compose/lint/
DPsiUtils.kt23 import com.intellij.psi.PsiType
42 val PsiType?.isVoidOrUnit constant
43 get() = this == PsiType.VOID || this?.canonicalText == "kotlin.Unit"
46 fun PsiType.inheritsFrom(name: Name) = InheritanceUtil.isInheritor(this, name.javaFqn) method
/compose/lint/internal-lint-checks/src/main/java/androidx/compose/lint/
DSteppedForLoopDetector.kt31 import com.intellij.psi.PsiType
68 private fun isIntegerProgression(type: PsiType?): Boolean { in isIntegerProgression()
92 private fun isInteger(type: PsiType?) = in UElement()
/compose/ui/ui-lint/src/main/java/androidx/compose/ui/lint/
DModifierDeclarationDetector.kt35 import com.intellij.psi.PsiType
333 private fun UMethod.checkReturnType(context: JavaContext, returnType: PsiType) { in checkReturnType()