Home
last modified time | relevance | path

Searched refs:containingMethod (Results 1 – 17 of 17) sorted by relevance

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DParameterItem.kt32 containingMethod() in name()
38 fun containingMethod(): MethodItem in name() method
89 override fun parent(): MethodItem? = containingMethod() in name()
92 get() = originallyDeprecated || containingMethod().effectivelyDeprecated in name()
95 containingMethod().baselineElementId() + " parameter #" + parameterIndex in name()
103 override fun containingClass(): ClassItem = containingMethod().containingClass()
105 override fun containingPackage(): PackageItem? = containingMethod().containingPackage()
DItem.kt353 val method = item.containingMethod() in fullyQualifiedDocumentation()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineParameterItem.kt33 private val containingMethod: MethodItem, constant
47 override fun containingMethod(): MethodItem = containingMethod in containingMethod() method
66 containingMethod == other.containingMethod() in equals()
78 containingMethod: MethodItem, in hashCode()
88 containingMethod, in hashCode()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DKotlinTypeInfo.kt254 val containingMethod = (context as? UParameter)?.getContainingUMethod() ?: return null in <lambda>() constant
258 val parameterIndex = containingMethod.uastParameters.indexOf(context) in <lambda>()
260 return when (val sourcePsi = containingMethod.sourcePsi) { in <lambda>()
264 fromContext(containingMethod) in <lambda>()
276 typeFromKtClass(parameterIndex, containingMethod, sourcePsi) in <lambda>()
281 parameterIndex == containingMethod.parameters.size - 1 in <lambda>()
331 containingMethod: UMethod, in <lambda>()
335 ktClass.isData() && containingMethod.name == "copy" -> { in <lambda>()
DPsiParameterItem.kt66 lateinit var containingMethod: PsiMethodItem variable
86 if (containingMethod.isKotlinProperty()) { in name()
91 containingMethod.modifiers.isSuspend() && in name()
93 containingMethod.parameters().size - 1 == parameterIndex in name()
189 ((containingMethod.psiMethod as? UMethod)?.sourcePsi as? KtFunction) in computeDefaultValue()
237 override fun containingMethod(): MethodItem = containingMethod in type() method
245 containingMethod == other.containingMethod() in type()
DPsiItem.kt127 val target = containingMethod() in appendDocumentation()
DPsiMethodItem.kt78 parameter.containingMethod = this in <lambda>()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextParameterItem.kt43 internal lateinit var containingMethod: TextMethodItem variable
61 override fun containingMethod(): MethodItem = containingMethod in type() method
DTextMethodItem.kt44 parameters.forEach { it.containingMethod = this } in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt62 private fun containingMethod(item: Item): MethodItem? { in containingMethod() method
67 return item.containingMethod() in containingMethod()
73 val oldMethod = containingMethod(old) in compareItemNullability()
74 val newMethod = containingMethod(new) in compareItemNullability()
114 context is ParameterItem && !context.containingMethod().canBeExternallyOverridden() in compareTypeNullability()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DAndroidApiChecks.kt82 parameter.containingMethod().name() + in check()
109 return findDocumentation(item.containingMethod(), item.name()) in findDocumentation()
DApiAnalyzer.kt1269 containingMethod: MethodItem, in <lambda>()
1273 if (!containingMethod.effectivelyDeprecated) { in <lambda>()
1280 containingMethod, in <lambda>()
1297 containingMethod, in <lambda>()
1304 containingMethod, in <lambda>()
DExtractAnnotations.kt172 is ParameterItem -> item.containingMethod().containingClass().containingPackage() in <lambda>()
422 return containingMethod().getExternalAnnotationSignature() + in <lambda>()
DNullabilityAnnotationsValidator.kt109 parameter.containingMethod(), in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/
DSourceMethodItemTest.kt35 assertSame(duplicatedMethod, it.containingMethod()) in checkMethodParameterState()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/
DDocAnalyzer.kt254 .containingMethod() in <lambda>()
596 is ParameterItem -> item.containingMethod().appendDocumentation(doc, item.name()) in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt903 assertEquals(methodItem, paramItem.containingMethod()) in 230 test public name and default value of parameters()