/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiClassItem.kt | 148 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>() 483 … constructors.add(PsiConstructorItem.createDefaultConstructor(codebase, item, psiClass)) in <lambda>() 510 item.constructors = constructors in <lambda>() [all …]
|
D | PsiBasedCodebase.kt | 635 registerMethods(cls.constructors(), map) in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ClassItem.kt | 163 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/ |
D | ApiLint.kt | 255 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 …]
|
D | ApiAnalyzer.kt | 179 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>()
|
D | CompatibilityCheck.kt | 239 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/ |
D | TextClassItem.kt | 187 private val constructors = mutableListOf<ConstructorItem>() constant 192 override fun constructors(): List<ConstructorItem> = constructors in constructors() method 202 constructors += constructor in addConstructor()
|
D | TextCodebase.kt | 151 for (methodItem in cl.constructors()) { in resolveThrowsClasses()
|
/tools/metalava/src/test/java/com/android/tools/metalava/stub/ |
D | StubsTest.kt | 210 …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/ |
D | JavaStubWriter.kt | 278 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/ |
D | ApiFileTest.kt | 1344 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()
|
D | ApiLintTest.kt | 2816 fun `Check singleton constructors`() { in Check singleton constructors()
|
D | CompatibilityCheckTest.kt | 3030 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/ |
D | repackage-common.sh | 106 DEFAULT_CONSTRUCTORS_FILE=${PROJECT_DIR}/srcgen/default-constructors.txt
|