Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DMethodItem.kt28 fun isConstructor(): Boolean in <lambda>() method
55 if (isConstructor() && containingClass().containingClass() != null && in <lambda>()
66 …sb.append(if (voidConstructorTypes && isConstructor()) "V" else returnType()?.internalName() ?: "V… in <lambda>()
157 if (isConstructor()) { in <lambda>()
184 if (isConstructor()) { in <lambda>()
194 if (isConstructor()) { in <lambda>()
207 if (!isConstructor()) { in <lambda>()
222 if (!isConstructor()) { in <lambda>()
362 if (isConstructor()) { in <lambda>()
380 if (!isConstructor() && returnType()?.primitive != true) { in <lambda>()
[all …]
DItem.kt291 if (item.isConstructor()) { in describe()
297 if (includeReturnValue && !item.isConstructor()) { in describe()
328 if (!item.isConstructor()) { in appendMethodSignature()
DConstructorItem.kt20 override fun isConstructor(): Boolean = true method
DClassItem.kt399 if (template.isConstructor()) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiConstructorItem.kt60 override fun isConstructor(): Boolean = true in isImplicitConstructor() method
70 if (result.isEmpty() && isConstructor() && containingClass().superClass() != null) { in isImplicitConstructor()
111 assert(psiMethod.isConstructor) in create()
DPsiMethodItem.kt104 override fun isConstructor(): Boolean = false in <lambda>() method
377 assert(!psiMethod.isConstructor) in <lambda>()
DPsiClassItem.kt473 if (psiMethod.isConstructor) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt79 override fun isConstructor(): Boolean = false in isConstructor() method
84 if (isConstructor()) { in isConstructor()
DTextConstructorItem.kt33 override fun isConstructor(): Boolean = true method
/tools/metalava/src/main/java/com/android/tools/metalava/
DCompatibilityCheck.kt359 if (!new.isConstructor() && oldReturnType != null && newReturnType != null) { in compare()
795 val inherited = if (new.isConstructor()) { in added()
854 val inherited = if (old.isConstructor()) { in removed()
DFilterPredicate.kt28 method is MethodItem -> !method.isConstructor() && in test()
DElidingPredicate.kt33 return if (method is MethodItem && !method.isConstructor()) { in <lambda>()
DComparisonVisitor.kt281 if (old is MethodItem && !old.isConstructor() && newParent is ClassItem) { in visitRemoved()
382 is MethodItem -> if (item.isConstructor()) 1 else 2 in compare()
DDexApiWriter.kt58 if (method.isConstructor()) { in visitMethod()
DAndroidApiChecks.kt54 if (!method.isConstructor()) { in check()
DKotlinInteropChecks.kt73 if (!method.isConstructor()) { in <lambda>()
DAnnotationStatistics.kt121 if (!method.isConstructor() && method.returnType()?.primitive != true) { in <lambda>()
DApiLint.kt337 if (!method.isConstructor()) { in <lambda>()
577 if (method.isConstructor() || method.modifiers.isStatic() || method.modifiers.isFinal()) { in <lambda>()
2048 if (item.isConstructor() || item.returnType()?.primitive == true) return in <lambda>()
DExtractAnnotations.kt427 if (isConstructor()) { in <lambda>()
DDocAnalyzer.kt844 return getMethodVersion(owner, if (method.isConstructor) "<init>" else method.name, desc) in ApiLookup()
DApiAnalyzer.kt845 if (!method.isConstructor()) { in <lambda>()
/tools/apifinder/checks/src/main/java/com/android/apifinder/
DApiFinderDetector.kt59 val methodName = if (method.isConstructor) { in getApplicableUastTypes()