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.kt50 val psiMethod: PsiMethod, in <lambda>() constant in com.android.tools.metalava.model.psi.PsiMethodItem
62 element = psiMethod in <lambda>()
93 if (psiMethod != other.psiMethod) return false in <lambda>()
99 return psiMethod.hashCode() in <lambda>()
116 psiMethod.findSuperMethods().mapTo(result) { codebase.findMethod(it) } in <lambda>()
124 if (psiMethod.hasTypeParameters()) { in <lambda>()
126 codebase, psiMethod.typeParameterList in <lambda>()
135 return PsiTypeItem.typeParameterClasses(codebase, psiMethod.typeParameterList) in <lambda>()
156 return psiMethod.containingClass != psiClass in <lambda>()
162 ((psiMethod as? KotlinUMethod)?.sourcePsi as? KtNamedFunction)?.valueParameters in <lambda>()
[all …]
DPsiConstructorItem.kt33 psiMethod: PsiMethod, in <lambda>()
46 psiMethod = psiMethod, in <lambda>()
68 psiMethod.findSuperMethods().mapTo(result) { codebase.findMethod(it) } in <lambda>()
74 var curr: PsiElement? = psiMethod.body?.firstBodyElement in <lambda>()
109 psiMethod: PsiMethod in <lambda>()
111 assert(psiMethod.isConstructor) in <lambda>()
112 val name = psiMethod.name in <lambda>()
113 val commentText = javadoc(psiMethod) in <lambda>()
114 val modifiers = modifiers(codebase, psiMethod, commentText) in <lambda>()
115 val parameters = psiMethod.parameterList.parameters.mapIndexed { index, parameter -> in <lambda>()
[all …]
DPsiPropertyItem.kt30 private val psiMethod: PsiMethod, constant in com.android.tools.metalava.model.psi.PsiPropertyItem
41 element = psiMethod
57 return psiMethod.containingClass != psiClass in type()
79 psiMethod: PsiMethod in toString()
81 val commentText = javadoc(psiMethod) in toString()
82 val modifiers = modifiers(codebase, psiMethod, commentText) in toString()
86 psiMethod = psiMethod, in toString()
DPsiClassItem.kt344 val psiMethod = codebase.createPsiMethod(stub, psiClass) in <lambda>() constant
345 newMethod = PsiMethodItem.create(codebase, this, psiMethod) in <lambda>()
450 val psiMethod = codebase.createConstructor("private ${psiClass.name}", psiClass) in <lambda>() constant
451 methods.add(PsiConstructorItem.create(codebase, item, psiMethod)) in <lambda>()
466 for (psiMethod in psiMethods) { in <lambda>() constant
467 if (psiMethod.isConstructor) { in <lambda>()
468 val constructor = PsiConstructorItem.create(codebase, item, psiMethod) in <lambda>()
472 psiMethod is SyntheticElement in <lambda>()
476 val method = PsiMethodItem.create(codebase, item, psiMethod) in <lambda>()
DPsiBasedCodebase.kt672 val psiMethod = (method as PsiMethodItem).psiMethod in <lambda>() constant
673 map[psiMethod] = method in <lambda>()
DPsiParameterItem.kt81 … ((containingMethod.psiMethod as? KotlinUMethod)?.sourcePsi as? KtNamedFunction)?.valueParameters in isReceiver()
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt1133 val psiMethod = method.psiMethod in <lambda>() constant
1134 if (psiMethod is UMethod) { in <lambda>()
1135 psiMethod.accept(object : AbstractUastVisitor() { in <lambda>()
1151 psiMethod.body?.accept(object : JavaRecursiveElementVisitor() { in <lambda>()
DDocAnalyzer.kt729 val psiMethod = method.psi() as? PsiMethod ?: return in <lambda>() constant
730 addApiLevelDocumentation(apiLookup.getMethodVersion(psiMethod), method) in <lambda>()
731 addDeprecatedDocumentation(apiLookup.getMethodDeprecatedIn(psiMethod), method) in <lambda>()
DExtractAnnotations.kt280 val method = item.psiMethod in <lambda>()