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>()
114 psiMethod.findSuperMethods().mapTo(result) { codebase.findMethod(it) } in <lambda>()
122 if (psiMethod.hasTypeParameters()) { in <lambda>()
124 codebase, psiMethod.typeParameterList in <lambda>()
133 return PsiTypeItem.typeParameterClasses(codebase, psiMethod.typeParameterList) in <lambda>()
154 return psiMethod.containingClass != psiClass in <lambda>()
160 ((psiMethod as? KotlinUMethod)?.sourcePsi as? KtNamedFunction)?.valueParameters in <lambda>()
[all …]
DPsiConstructorItem.kt32 psiMethod: PsiMethod, in <lambda>()
45 psiMethod = psiMethod, in <lambda>()
67 psiMethod.findSuperMethods().mapTo(result) { codebase.findMethod(it) } in <lambda>()
73 var curr: PsiElement? = psiMethod.body?.firstBodyElement in <lambda>()
108 psiMethod: PsiMethod in <lambda>()
110 assert(psiMethod.isConstructor) in <lambda>()
111 val name = psiMethod.name in <lambda>()
112 val commentText = javadoc(psiMethod) in <lambda>()
113 val modifiers = modifiers(codebase, psiMethod, commentText) in <lambda>()
114 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.kt335 val psiMethod = codebase.createPsiMethod(stub, psiClass) in <lambda>() constant
336 newMethod = PsiMethodItem.create(codebase, this, psiMethod) in <lambda>()
449 for (psiMethod in psiMethods) { in <lambda>() constant
450 if (psiMethod.isPrivate() || psiMethod.isPackagePrivate()) { in <lambda>()
453 if (psiMethod.isConstructor) { in <lambda>()
454 val constructor = PsiConstructorItem.create(codebase, item, psiMethod) in <lambda>()
457 val method = PsiMethodItem.create(codebase, item, psiMethod) in <lambda>()
561 val psiMethod = codebase.createConstructor("private ${psiClass.name}", psiClass) in <lambda>() constant
562 result.add(PsiConstructorItem.create(codebase, classItem, psiMethod)) in <lambda>()
573 val psiMethod = codebase.createPsiMethod(source, psiClass) in <lambda>() constant
[all …]
DPsiBasedCodebase.kt647 val psiMethod = (method as PsiMethodItem).psiMethod in <lambda>() constant
648 map[psiMethod] = method in <lambda>()
DPsiParameterItem.kt79 … ((containingMethod.psiMethod as? KotlinUMethod)?.sourcePsi as? KtNamedFunction)?.valueParameters in getKtParameter()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocAnalyzer.kt682 val psiMethod = method.psi() as? PsiMethod ?: return in <lambda>() constant
683 addApiLevelDocumentation(apiLookup.getMethodVersion(psiMethod), method) in <lambda>()
684 addDeprecatedDocumentation(apiLookup.getMethodDeprecatedIn(psiMethod), method) in <lambda>()
DApiLint.kt1011 val psiMethod = method.psiMethod in <lambda>() constant
1012 if (psiMethod is UMethod) { in <lambda>()
1013 psiMethod.accept(object : AbstractUastVisitor() { in <lambda>()
1029 psiMethod.body?.accept(object : JavaRecursiveElementVisitor() { in <lambda>()
DExtractAnnotations.kt280 val method = item.psiMethod in <lambda>()