Home
last modified time | relevance | path

Searched refs:psiType (Results 1 – 5 of 5) sorted by relevance

/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItemFactory.kt54 data class PsiTypeInfo(val psiType: PsiType, val context: PsiElement? = null) in <lambda>() constant in com.android.tools.metalava.model.psi.PsiTypeInfo
89 return getType(underlyingType.psiType, underlyingType.context, contextNullability) in <lambda>()
97 psiType: PsiType, in <lambda>()
113 return createTypeItem(psiType, kotlinTypeInfo, contextNullability) in <lambda>()
137 val psiType = codebase.getClassType(psiTypeParameter) in <lambda>() constant
139 psiType, in <lambda>()
163 psiType: PsiType, in <lambda>()
168 return when (psiType) { in <lambda>()
171 psiType = psiType, in <lambda>()
176 psiType = psiType, in <lambda>()
[all …]
DPsiTypeItem.kt41 val psiType: PsiType, constant in com.android.tools.metalava.model.psi.PsiTypeItem
51 return TypeConversionUtil.isAssignable(psiType, other.psiType) in isAssignableFromWithoutUnboxing()
57 psiType: PsiType,
60 ) : PrimitiveTypeItem, PsiTypeItem(psiType, modifiers) {
62 PsiPrimitiveTypeItem(psiType = psiType, kind = kind, modifiers = modifiers.duplicate()) in duplicate()
67 psiType: PsiType, in duplicate()
71 ) : ArrayTypeItem, PsiTypeItem(psiType, modifiers) { in duplicate()
74 psiType = psiType, in duplicate()
84 psiType: PsiType,
90 ) : ClassTypeItem, PsiTypeItem(psiType, modifiers) {
[all …]
DPsiParameterItem.kt286 return LambdaUtil.isFunctionalType(type.psiType) in isSamCompatibleOrKotlinLambda()
316 val psiType = psiParameter.type in create() constant
323 psiType is PsiArrayType in create()
335 psiType.componentType.annotate(annotationProvider) in create()
337 psiType.componentType in create()
341 psiType in create()
349 isVarArg = psiType is PsiEllipsisType, in create()
DPsiBasedCodebase.kt745 internal fun findClass(psiType: PsiType): PsiClassItem? { in <lambda>()
746 if (psiType is PsiClassType) { in <lambda>()
747 val cls = psiType.resolve() ?: return null in <lambda>()
749 } else if (psiType is PsiArrayType) { in <lambda>()
750 var componentType = psiType.componentType in <lambda>()
DPsiMethodItem.kt438 .map { psiType -> enclosingTypeItemFactory.getExceptionType(PsiTypeInfo(psiType)) } in <lambda>() method