/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiPackageItem.kt | 27 private val qualifiedName: String, constant in com.android.tools.metalava.model.psi.PsiPackageItem 50 return if (qualifiedName.isEmpty()) null else { in containingClass() 52 var parentPackage = qualifiedName in containingClass() 102 override fun qualifiedName(): String = qualifiedName in qualifiedName() method 108 return other is PackageItem && qualifiedName == other.qualifiedName() in qualifiedName() 111 override fun hashCode(): Int = qualifiedName.hashCode() in hashCode() 113 override fun toString(): String = "package $qualifiedName" in hashCode() 142 val qualifiedName = psiPackage.qualifiedName in create() constant 147 qualifiedName = qualifiedName, in create() 159 qualifiedName = original.qualifiedName, in create()
|
D | PsiTypeParameterItem.kt | 36 qualifiedName = name,
|
D | PsiCompilationUnit.kt | 87 val pkgItem = codebase.findPackage(resolved.qualifiedName) ?: continue in getImportStatements()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextClassItem.kt | 43 val qualifiedName: String = "", constant 44 private val qualifiedTypeName: String = qualifiedName, 45 var name: String = qualifiedName.substring(qualifiedName.lastIndexOf('.') + 1), 68 return qualifiedName == other.qualifiedName() in equals() 72 return qualifiedName.hashCode() in hashCode() 121 qualifiedName() + typeParameterListString in containingPackage() 122 } else qualifiedName() in containingPackage() 254 override fun qualifiedName(): String = qualifiedName in simpleName() method 259 override fun toString(): String = qualifiedName() in toString() 274 val qualifiedName = if (index == -1) name else name.substring(0, index) in createClassStub() constant [all …]
|
D | TextBackedAnnotationItem.kt | 32 private val qualifiedName: String? constant 43 …qualifiedName = if (mapName) AnnotationItem.mapName(codebase, annotationClass) else annotationClass 45 qualifiedName == null -> "" 46 index == -1 -> "@$qualifiedName" 47 else -> "@" + qualifiedName + source.substring(index) 60 override fun qualifiedName(): String? = qualifiedName method
|
D | TextModifiers.kt | 57 val qualifiedName = AnnotationItem.mapName(codebase, originalName) in <lambda>() constant 60 if (qualifiedName == JAVA_LANG_DEPRECATED) { in <lambda>() 74 override fun qualifiedName(): String? = qualifiedName in <lambda>() method
|
D | TextPackageItem.kt | 56 override fun qualifiedName(): String = name in classList() method 64 return name == other.qualifiedName() in classList()
|
D | TextTypeParameterItem.kt | 36 qualifiedName = name 100 … return p.bounds().filter { !it.isJavaLangObject() }.map { it.qualifiedName() } in bounds()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | AnnotationFilter.kt | 48 if (annotation.qualifiedName() == null) { in matches() 64 annotationNames.add(expression.qualifiedName) in getIncludedAnnotationNames() 71 included.qualifiedName.endsWith(annotationSuffix) in matchesSuffix() 85 return inclusion.qualifiedName in firstQualifiedName() 89 if (filter.qualifiedName != existingAnnotation.qualifiedName) { in annotationsMatch() 109 val qualifiedName: String, constant in com.android.tools.metalava.AnnotationFilterEntry 122 val qualifiedName = if (index == -1) { in fromSource() constant 135 return AnnotationFilterEntry(qualifiedName, attributes) in fromSource()
|
D | SdkFileWriter.kt | 80 if (SDK_CONSTANT_ANNOTATION == annotation.qualifiedName()) { in generate() 84 … val type = resolved.containingClass().qualifiedName() + "." + resolved.name() in generate() 103 if (SDK_WIDGET_ANNOTATION == annotation.qualifiedName()) { in generate() 107 } else if (SDK_LAYOUT_ANNOTATION == annotation.qualifiedName()) { in generate() 116 … if (topLayoutParams == null && ANDROID_VIEW_VIEW_GROUP_LAYOUT_PARAMS == clazz.qualifiedName()) { in generate() 181 val pkgName = clazz.containingPackage().qualifiedName() in isIncludedPackage() 267 writer.append(prefix).append(clazz.qualifiedName()) in writeClass() 270 writer.append(' ').append(superClass.qualifiedName()) in writeClass() 289 ANDROID_VIEW_VIEW_GROUP == clazz.qualifiedName() -> TYPE_LAYOUT in checkInheritance() 290 ANDROID_VIEW_VIEW == clazz.qualifiedName() -> TYPE_WIDGET in checkInheritance() [all …]
|
D | RewriteAnnotations.kt | 56 val qualifiedName = pkg + "." + fileName.substring(0, fileName.indexOf('.')) in <lambda>() constant 57 if (hasSourceRetention(codebase, qualifiedName)) { in <lambda>() 84 val qualifiedName = pkg + "." + fileName.substring(0, fileName.indexOf('.')) in <lambda>() constant 85 if (hasSourceRetention(codebase, qualifiedName)) { in <lambda>() 124 private fun hasSourceRetention(codebase: Codebase?, qualifiedName: String): Boolean { in <lambda>() 126 qualifiedName == RECENTLY_NULLABLE || in <lambda>() 127 qualifiedName == RECENTLY_NONNULL || in <lambda>() 128 qualifiedName == ANDROID_NULLABLE || in <lambda>() 129 qualifiedName == ANDROID_NONNULL -> return false in <lambda>() 130 qualifiedName.startsWith("androidx.annotation.") -> return true in <lambda>() [all …]
|
D | PackageFilter.kt | 34 fun matches(qualifiedName: String): Boolean { in matches() 36 if (component.filter.test(qualifiedName)) { in matches() 70 return matches(packageItem.qualifiedName()) in matches()
|
D | AnnotationsDiffer.kt | 92 val qualifiedName = annotation.qualifiedName() ?: continue in <lambda>() constant 93 if (newModifiers.findAnnotation(qualifiedName) == null) { in <lambda>()
|
D | ProguardWriter.kt | 131 var qualifiedName = cls.qualifiedNameWithDollarInnerClasses() in getCleanTypeName() variable 134 qualifiedName += "[]" in getCleanTypeName() 136 return qualifiedName in getCleanTypeName()
|
D | DocReplacement.kt | 34 val fqn = packageItem.qualifiedName() in <lambda>()
|
D | ArtifactTagger.kt | 101 val pkg = codebase.findPackage(specPkg.qualifiedName()) ?: continue in applyArtifactsFromSpec()
|
D | KotlinInteropChecks.kt | 94 for (exception in exceptions.sortedBy { it.qualifiedName() }) { in <lambda>() 350 when (cls.qualifiedName()) { in <lambda>()
|
D | JDiffXmlWriter.kt | 170 writer.print(constructor.containingClass().qualifiedName()) in <lambda>() 371 writer.print(type.qualifiedName()) in <lambda>()
|
D | NullabilityAnnotationsValidator.kt | 138 it.qualifiedName()?.endsWith("NullFromTypeParam") == true in <lambda>()
|
D | SignatureWriter.kt | 365 writer.print(type.qualifiedName()) in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | PackageItem.kt | 26 fun qualifiedName(): String in <lambda>() method 38 val isDefault get() = qualifiedName().isEmpty() in <lambda>() 40 … override fun parent(): PackageItem? = if (qualifiedName().isEmpty()) null else containingPackage() in <lambda>() 46 val name = qualifiedName() in <lambda>() 113 …rator: Comparator<PackageItem> = Comparator { a, b -> a.qualifiedName().compareTo(b.qualifiedName(… in <lambda>()
|
D | PackageDocs.kt | 24 fun getOverviewDocumentation(pkg: PackageItem): String? = overviewDocs[pkg.qualifiedName()]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/logger/ |
D | TfObjectTracker.java | 87 String qualifiedName = object.getName(); in count() local 100 if (qualifiedName.contains("$")) { in count() 108 if (countMap.get(qualifiedName) != null) { in count() 109 count = countMap.get(qualifiedName); in count() 112 countMap.put(qualifiedName, count); in count()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/ |
D | TextBackedAnnotationItemTest.kt | 45 assertEquals("androidx.annotation.Nullable", annotation.qualifiedName()) in supportsDocumentation() 56 assertEquals("androidx.annotation.IntRange", annotation.qualifiedName()) in testIntRange() 74 assertEquals("androidx.annotation.IntDef", annotation.qualifiedName()) in testIntDef()
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | ApiFile.java | 254 String qualifiedName; in parseClass() local 287 qualifiedName = qualifiedName(pkg.name(), name); in parseClass() 289 if (api.findClass(qualifiedName) != null) { in parseClass() 290 throw new ApiParseException("Duplicate class found: " + qualifiedName, tokenizer); in parseClass() 293 final TextTypeItem typeInfo = api.obtainTypeFromString(qualifiedName); in parseClass() 560 String qualifiedName = annotation.indexOf('.') == -1 in mergeAnnotations() local 564 annotations.add(qualifiedName); in mergeAnnotations() 973 private static String qualifiedName(String pkg, String className) { in qualifiedName() method in ApiFile
|