Home
last modified time | relevance | path

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

12

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiPackageItem.kt27 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()
DPsiTypeParameterItem.kt36 qualifiedName = name,
DPsiCompilationUnit.kt87 val pkgItem = codebase.findPackage(resolved.qualifiedName) ?: continue in getImportStatements()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt43 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 …]
DTextBackedAnnotationItem.kt32 private val qualifiedName: String? constant
43qualifiedName = 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
DTextModifiers.kt57 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
DTextPackageItem.kt56 override fun qualifiedName(): String = name in classList() method
64 return name == other.qualifiedName() in classList()
DTextTypeParameterItem.kt36 qualifiedName = name
100 … return p.bounds().filter { !it.isJavaLangObject() }.map { it.qualifiedName() } in bounds()
/tools/metalava/src/main/java/com/android/tools/metalava/
DAnnotationFilter.kt48 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()
DSdkFileWriter.kt80 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 …]
DRewriteAnnotations.kt56 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 …]
DPackageFilter.kt34 fun matches(qualifiedName: String): Boolean { in matches()
36 if (component.filter.test(qualifiedName)) { in matches()
70 return matches(packageItem.qualifiedName()) in matches()
DAnnotationsDiffer.kt92 val qualifiedName = annotation.qualifiedName() ?: continue in <lambda>() constant
93 if (newModifiers.findAnnotation(qualifiedName) == null) { in <lambda>()
DProguardWriter.kt131 var qualifiedName = cls.qualifiedNameWithDollarInnerClasses() in getCleanTypeName() variable
134 qualifiedName += "[]" in getCleanTypeName()
136 return qualifiedName in getCleanTypeName()
DDocReplacement.kt34 val fqn = packageItem.qualifiedName() in <lambda>()
DArtifactTagger.kt101 val pkg = codebase.findPackage(specPkg.qualifiedName()) ?: continue in applyArtifactsFromSpec()
DKotlinInteropChecks.kt94 for (exception in exceptions.sortedBy { it.qualifiedName() }) { in <lambda>()
350 when (cls.qualifiedName()) { in <lambda>()
DJDiffXmlWriter.kt170 writer.print(constructor.containingClass().qualifiedName()) in <lambda>()
371 writer.print(type.qualifiedName()) in <lambda>()
DNullabilityAnnotationsValidator.kt138 it.qualifiedName()?.endsWith("NullFromTypeParam") == true in <lambda>()
DSignatureWriter.kt365 writer.print(type.qualifiedName()) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DPackageItem.kt26 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>()
DPackageDocs.kt24 fun getOverviewDocumentation(pkg: PackageItem): String? = overviewDocs[pkg.qualifiedName()]
/tools/tradefederation/core/src/com/android/tradefed/invoker/logger/
DTfObjectTracker.java87 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/
DTextBackedAnnotationItemTest.kt45 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/
DApiFile.java254 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

12