Home
last modified time | relevance | path

Searched refs:containingPackage (Results 1 – 25 of 25) sorted by relevance

/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbinePackageItem.kt36 private var containingPackage: PackageItem? = null variable
88 override fun containingPackage(): PackageItem? { in containingPackage() method
92 if (containingPackage == null) { in containingPackage()
97 containingPackage = in containingPackage()
101 return containingPackage in containingPackage()
DTurbineClassItem.kt66 internal lateinit var containingPackage: TurbinePackageItem in <lambda>() variable
112 override fun containingPackage(): PackageItem = in <lambda>() method
113 containingClass?.containingPackage() ?: containingPackage in <lambda>()
DTurbineCodebaseInitialiser.kt383 classItem.containingPackage = pkgItem in <lambda>()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt90 private var containingPackage: PackageItem? = null in containingClass() variable
92 fun setContainingPackage(containingPackage: TextPackageItem) { in containingClass()
93 this.containingPackage = containingPackage in containingClass()
96 override fun containingPackage(): PackageItem = in containingPackage() method
97 containingClass?.containingPackage() ?: containingPackage ?: error(this) in containingPackage()
DTextCodebaseBuilder.kt82 val pkg = getOrAddPackage(cls.containingPackage().qualifiedName()) in addClass()
126 val pkg = getOrAddPackage(fullClass.containingPackage().qualifiedName()) in getOrAddClass()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DMemberItem.kt32 override fun containingPackage(): PackageItem = containingClass().containingPackage() in name() method
DParameterItem.kt105 override fun containingPackage(): PackageItem? = containingMethod().containingPackage() method
DPackageItem.kt50 if (qualifiedName().isEmpty()) null else containingPackage() in <lambda>()
52 override fun containingPackage(): PackageItem? { in <lambda>() method
DTypeParameterItem.kt87 override fun containingPackage() = error("Not needed for TypeParameterItem") method
DClassItem.kt54 override fun parent(): Item? = containingClass() ?: containingPackage() in <lambda>()
74 return curr.containingPackage().qualifiedName() + "." + fullName().replace('.', '$') in <lambda>()
88 return curr.containingPackage().qualifiedName().replace('.', '/') + in <lambda>()
203 override fun containingPackage(): PackageItem in <lambda>() method
DItem.kt221 fun containingPackage(): PackageItem? in fullyQualifiedDocumentation() method
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt621 val containingPackage = pkg.containingPackage() in <lambda>() constant
622 if (containingPackage != null) { in <lambda>()
623 if (containingPackage.hidden && !containingPackage.isDefault) { in <lambda>()
626 if (containingPackage.docOnly) { in <lambda>()
639 cls.containingPackage().hidden = false in <lambda>()
662 val containingPackage = cls.containingPackage() in <lambda>() constant
663 if (containingPackage.hidden && !containingPackage.isDefault) { in <lambda>()
665 } else if (containingPackage.originallyHidden) { in <lambda>()
671 if (containingPackage.docOnly && !containingPackage.isDefault) { in <lambda>()
674 if (containingPackage.removed && !showability.show()) { in <lambda>()
[all …]
DApiPredicate.kt150 var pkg: PackageItem? = clazz.containingPackage() in test()
155 pkg = pkg.containingPackage() in test()
DMarkPackagesAsRecent.kt37 return filter.matches(cls.containingPackage()) in include()
DExtractAnnotations.kt171 is MemberItem -> item.containingClass().containingPackage() in <lambda>()
172 is ParameterItem -> item.containingMethod().containingClass().containingPackage() in <lambda>()
DSdkFileWriter.kt184 val pkgName = clazz.containingPackage().qualifiedName() in isIncludedPackage()
DDefaultReporter.kt142 val pkg = (item as? PackageItem) ?: item.containingPackage() in hasErrors()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiPackageItem.kt56 override fun containingPackage(): PackageItem? { in containingClass() method
100 cls.containingPackage = this in addClass()
DPsiClassItem.kt82 lateinit var containingPackage: PsiPackageItem in <lambda>() variable
84 override fun containingPackage(): PackageItem = in <lambda>() method
85 containingClass?.containingPackage() ?: containingPackage in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt257 assertEquals(parentPackageItem, packageItem.containingPackage()) in 110 - advanced package test()
258 assertEquals(rootPackageItem, parentPackageItem.containingPackage()) in 110 - advanced package test()
259 assertEquals(null, rootPackageItem.containingPackage()) in 110 - advanced package test()
260 assertEquals(packageItem, classItem.containingPackage()) in 110 - advanced package test()
261 assertEquals(packageItem, innerClassItem.containingPackage()) in 110 - advanced package test()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/model/visitors/
DApiVisitor.kt194 if (packageFilter != null && !packageFilter.matches(cls.containingPackage())) { in include()
337 val pkg = cls.containingPackage() in accept()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt41 val qualifiedName = cls.containingPackage().qualifiedName() in <lambda>()
DStubWriter.kt145 val packageDir = getPackageDir(classItem.containingPackage()) in getClassFile()
DJavaStubWriter.kt45 val qualifiedName = cls.containingPackage().qualifiedName() in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/
DDocAnalyzer.kt732 val pkg = cls.containingPackage() in <lambda>()