Home
last modified time | relevance | path

Searched refs:isConstructor (Results 1 – 21 of 21) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DMethodItem.kt33 fun isConstructor(): Boolean in <lambda>() method
63 if (isConstructor() && containingClass().containingClass() != null && in <lambda>()
74 …sb.append(if (voidConstructorTypes && isConstructor()) "V" else returnType()?.internalName() ?: "V… in <lambda>()
165 if (isConstructor()) { in <lambda>()
192 if (isConstructor()) { in <lambda>()
202 if (isConstructor()) { in <lambda>()
215 if (!isConstructor()) { in <lambda>()
230 if (!isConstructor()) { in <lambda>()
371 isConstructor() -> false in <lambda>()
383 if (!isConstructor() && returnType()?.primitive != true) { in <lambda>()
[all …]
DItem.kt295 if (item.isConstructor()) { in describe()
301 if (includeReturnValue && !item.isConstructor()) { in describe()
332 if (!item.isConstructor()) { in appendMethodSignature()
DConstructorItem.kt20 override fun isConstructor(): Boolean = true method
DClassItem.kt412 if (template.isConstructor()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiConstructorItem.kt65 override fun isConstructor(): Boolean = true in isImplicitConstructor() method
75 if (result.isEmpty() && isConstructor() && containingClass().superClass() != null) { in isImplicitConstructor()
116 assert(psiMethod.isConstructor) in create()
DPsiMethodItem.kt109 override fun isConstructor(): Boolean = false in <lambda>() method
374 assert(!psiMethod.isConstructor) in <lambda>()
DPsiClassItem.kt485 if (psiMethod.isConstructor) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt80 override fun isConstructor(): Boolean = false in isConstructor() method
85 if (isConstructor()) { in isConstructor()
DTextConstructorItem.kt33 override fun isConstructor(): Boolean = true method
/tools/metalava/src/main/java/com/android/tools/metalava/
DCompatibilityCheck.kt360 if (!new.isConstructor() && oldReturnType != null && newReturnType != null) { in compare()
805 val inherited = if (new.isConstructor()) { in added()
883 val inherited = if (old.isConstructor()) { in removed()
DFilterPredicate.kt28 method is MethodItem -> !method.isConstructor() && in test()
DElidingPredicate.kt32 return if (method is MethodItem && !method.isConstructor()) { in <lambda>()
DApiLint.kt340 if (!method.isConstructor()) { in <lambda>()
503 if (method.isConstructor() || method.modifiers.isStatic() || method.modifiers.isFinal()) { in <lambda>()
1602 if (item.isConstructor() || item.returnType()?.primitive == true) return in <lambda>()
1613 if (item.containingMethod().isConstructor()) return in <lambda>()
1624 if (item.isConstructor()) return in <lambda>()
2638 !method.isConstructor() && in <lambda>()
DDexApiWriter.kt58 if (method.isConstructor()) { in visitMethod()
DComparisonVisitor.kt280 if (old is MethodItem && !old.isConstructor() && newParent is ClassItem) { in visitRemoved()
382 is MethodItem -> if (item.isConstructor()) 1 else 2 in compare()
DAndroidApiChecks.kt54 if (!method.isConstructor()) { in check()
DKotlinInteropChecks.kt73 if (!method.isConstructor()) { in <lambda>()
DExtractAnnotations.kt458 if (isConstructor()) { in <lambda>()
DDocAnalyzer.kt787 return getMethodVersion(owner, if (method.isConstructor) "<init>" else method.name, desc) in ApiLookup()
DApiAnalyzer.kt870 if (!method.isConstructor()) { in <lambda>()
/tools/apifinder/checks/src/main/java/com/android/apifinder/
DApiFinderDetector.kt59 val methodName = if (method.isConstructor) { in getApplicableUastTypes()