Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiMethodItem.kt47 val psiMethod: PsiMethod, in <lambda>() constant in com.android.tools.metalava.model.psi.PsiMethodItem
59 element = psiMethod in <lambda>()
93 if (psiMethod != other.psiMethod) return false in <lambda>()
99 return psiMethod.hashCode() in <lambda>()
123 psiMethod.findSuperMethods().mapTo(result) { codebase.findMethod(it) } in <lambda>()
131 if (psiMethod.hasTypeParameters()) { in <lambda>()
134 psiMethod.typeParameterList in <lambda>()
143 return PsiTypeItem.typeParameterClasses(codebase, psiMethod.typeParameterList) in <lambda>()
164 return psiMethod.containingClass != psiClass in <lambda>()
170 ((psiMethod as? UMethod)?.sourcePsi as? KtNamedFunction)?.valueParameters in <lambda>()
[all …]
DPsiConstructorItem.kt36 psiMethod: PsiMethod,
50 psiMethod = psiMethod,
73 psiMethod.findSuperMethods().mapTo(result) { codebase.findMethod(it) } in isImplicitConstructor()
79 var curr: PsiElement? = psiMethod.body?.firstBodyElement in isImplicitConstructor()
114 psiMethod: PsiMethod in create()
116 assert(psiMethod.isConstructor) in create()
117 val name = psiMethod.name in create()
118 val commentText = javadoc(psiMethod) in create()
119 val modifiers = modifiers(codebase, psiMethod, commentText) in create()
120 val parameters = parameterList(codebase, psiMethod) in create()
[all …]
DPsiPropertyItem.kt30 private val psiMethod: PsiMethod, constant in com.android.tools.metalava.model.psi.PsiPropertyItem
45 element = psiMethod
62 return psiMethod.containingClass != psiClass in type()
108 val psiMethod = getter.psiMethod in toString() constant
111 else -> javadoc(sourcePsi ?: psiMethod) in toString()
113 val modifiers = modifiers(codebase, psiMethod, documentation) in toString()
116 psiMethod = psiMethod, in toString()
DPsiClassItem.kt358 val psiMethod = codebase.createPsiMethod(stub, psiClass) in <lambda>() constant
359 newMethod = PsiMethodItem.create(codebase, this, psiMethod) in <lambda>()
484 for (psiMethod in psiMethods) { in <lambda>() variable
485 if (psiMethod.isConstructor) { in <lambda>()
486 val constructor = PsiConstructorItem.create(codebase, item, psiMethod) in <lambda>()
500 } else if (classType == ClassType.ENUM && psiMethod is SyntheticElement) { in <lambda>()
503 val method = PsiMethodItem.create(codebase, item, psiMethod) in <lambda>()
DPsiBasedCodebase.kt704 val psiMethod = (method as PsiMethodItem).psiMethod in <lambda>() constant
705 map[psiMethod] = method in <lambda>()
DPsiParameterItem.kt103 ((containingMethod.psiMethod as? UMethod)?.sourcePsi as? KtFunction)?.valueParameters in isReceiver()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocAnalyzer.kt666 val psiMethod = method.psi() as? PsiMethod ?: return in <lambda>() constant
667 addApiLevelDocumentation(apiLookup.getMethodVersion(psiMethod), method) in <lambda>()
668 addDeprecatedDocumentation(apiLookup.getMethodDeprecatedIn(psiMethod), method) in <lambda>()
DApiLint.kt884 val psiMethod = method.psiMethod in <lambda>() constant
885 if (psiMethod is UMethod) { in <lambda>()
886 psiMethod.accept(object : AbstractUastVisitor() { in <lambda>()
902 psiMethod.body?.accept(object : JavaRecursiveElementVisitor() { in <lambda>()
DExtractAnnotations.kt281 val method = item.psiMethod in <lambda>()