Home
last modified time | relevance | path

Searched refs:constructors (Results 1 – 14 of 14) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt148 private lateinit var constructors: List<PsiConstructorItem> in <lambda>() variable
162 override fun constructors(): List<PsiConstructorItem> = constructors in <lambda>() method
219 for (method in constructors) { in <lambda>()
278 constructors: List<PsiConstructorItem>, in <lambda>()
284 this.constructors = constructors in <lambda>()
465 val constructors: MutableList<PsiConstructorItem> = ArrayList(5) in <lambda>() constant
469 constructors.add(constructor) in <lambda>()
482 assert(constructors.isEmpty()) in <lambda>()
483constructors.add(PsiConstructorItem.createDefaultConstructor(codebase, item, psiClass)) in <lambda>()
510 item.constructors = constructors in <lambda>()
[all …]
DPsiBasedCodebase.kt635 registerMethods(cls.constructors(), map) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DClassItem.kt163 fun constructors(): List<ConstructorItem> in <lambda>() method
179 return fields().asSequence().plus(constructors().asSequence()).plus(methods().asSequence()) in <lambda>()
257 for (constructor in constructors()) { in <lambda>()
339 for (constructor in constructors()) { in <lambda>()
428 constructors().asSequence() in <lambda>()
452 constructors().asSequence() in <lambda>()
484 constructors() in <lambda>()
580 return constructors().asSequence().filter { predicate.test(it) } in <lambda>()
762 private val constructors: Sequence<MethodItem> constant in com.android.tools.metalava.model.VisitCandidate
771 constructors = cls.constructors().asSequence()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt255 val constructors = cls.filteredConstructors(filterReference) in <lambda>() constant
258 val allMethods = methods.asSequence() + constructors.asSequence() in <lambda>()
260 cls, methods, constructors, allMethods, fields, superClass, interfaces, in <lambda>()
300 constructors: Sequence<ConstructorItem>, in <lambda>()
312 checkParcelable(cls, methods, constructors, fields) in <lambda>()
315 checkBuilder(cls, methods, constructors, superClass) in <lambda>()
322 checkManager(cls, methods, constructors) in <lambda>()
323 checkStaticUtils(cls, methods, constructors, fields) in <lambda>()
335 checkSingleton(cls, methods, constructors) in <lambda>()
850 constructors: Sequence<MethodItem>, in <lambda>()
[all …]
DApiAnalyzer.kt179 val constructors = cls.constructors() in <lambda>() constant
180 for (constructor in constructors) { in <lambda>()
193 val allConstructors = cls.constructors() in <lambda>()
197 val constructors = cls.filteredConstructors(filter).toList() in <lambda>() constant
198 if (constructors.isNotEmpty()) { in <lambda>()
201 … cls.stubConstructor = constructors.reduce { first, second -> pickBest(first, second) } in <lambda>()
1115 cantStripThis(cl.constructors(), filter, notStrippable, stubImportPackages) in <lambda>()
DCompatibilityCheck.kt239 if (old.constructors().filter { it.isPublic || it.isProtected }.none()) { in compare()
259 val hasPublicConstructor = old.constructors().any { it.isPublic } in compare()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt187 private val constructors = mutableListOf<ConstructorItem>() constant
192 override fun constructors(): List<ConstructorItem> = constructors in constructors() method
202 constructors += constructor in addConstructor()
DTextCodebase.kt151 for (methodItem in cl.constructors()) { in resolveThrowsClasses()
/tools/metalava/src/test/java/com/android/tools/metalava/stub/
DStubsTest.kt210 …fun `Generate stubs for class that should not get default constructor (has other constructors)`() { in <lambda>()
1475 fun `Arguments to super constructors`() { in <lambda>()
1555 fun `Arguments to super constructors with showAnnotations`() { in <lambda>()
2036 fun `Test inaccessible constructors`() { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt278 it.containingClass().constructors().filter { filterReference.test(it) }.size > 1 in <lambda>()
326 val constructors = cls.filteredConstructors(filterEmit) in <lambda>() constant
329 if (clsStubConstructor != null && !constructors.contains(clsStubConstructor)) { in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiFileTest.kt1344 fun `Basic class without default constructor, has constructors with args`() { in Basic class without default constructor, has constructors with args()
3676 fun `FooKt class constructors are not public`() { in FooKt class constructors are not public()
DApiLintTest.kt2816 fun `Check singleton constructors`() { in Check singleton constructors()
DCompatibilityCheckTest.kt3030 fun `Changing static qualifier on inner classes with no public constructors`() { in Changing static qualifier on inner classes with no public constructors()
/tools/currysrc/scripts/
Drepackage-common.sh106 DEFAULT_CONSTRUCTORS_FILE=${PROJECT_DIR}/srcgen/default-constructors.txt