Home
last modified time | relevance | path

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

/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()
DUAnnotationItem.kt52 private val qualifiedName = AnnotationItem.mapName(codebase, originalName) in <lambda>() constant
80 override fun qualifiedName() = qualifiedName in <lambda>() method in com.android.tools.metalava.model.psi.UAnnotationItem
114 …ebase: PsiBasedCodebase, uAnnotation: UAnnotation, qualifiedName: String? = uAnnotation.qualifiedN… in <lambda>()
115 return UAnnotationItem(codebase, uAnnotation, qualifiedName) in <lambda>()
149 … val qualifiedName = AnnotationItem.mapName(codebase, originalName, null, target) ?: return in <lambda>() constant
153 sb.append("@$qualifiedName") in <lambda>()
158 sb.append(qualifiedName) in <lambda>()
214 containing.qualifiedName?.let { in <lambda>()
221 is PsiClass -> resolved.qualifiedName?.let { sb.append(it) } in <lambda>()
250 … appendAnnotation(codebase, sb, value, value.qualifiedName, target, showDefaultAttrs) in <lambda>()
DPsiAnnotationItem.kt53 private val qualifiedName = AnnotationItem.mapName(codebase, originalName) in <lambda>() constant in com.android.tools.metalava.model.psi.PsiAnnotationItem
81 override fun qualifiedName() = qualifiedName in <lambda>() method in com.android.tools.metalava.model.psi.PsiAnnotationItem
115 …: PsiBasedCodebase, psiAnnotation: PsiAnnotation, qualifiedName: String? = psiAnnotation.qualified… in <lambda>()
116 return PsiAnnotationItem(codebase, psiAnnotation, qualifiedName) in <lambda>()
164 … val qualifiedName = AnnotationItem.mapName(codebase, originalName, null, target) ?: return in <lambda>() constant
168 sb.append("@$qualifiedName") in <lambda>()
173 sb.append(qualifiedName) in <lambda>()
230 containing.qualifiedName?.let { in <lambda>()
237 is PsiClass -> resolved.qualifiedName?.let { sb.append(it) } in <lambda>()
264 … appendAnnotation(codebase, sb, value, value.qualifiedName, target, showDefaultAttrs) in <lambda>()
DPsiTypeParameterItem.kt37 qualifiedName = name,
DPsiCompilationUnit.kt105 val pkgItem = codebase.findPackage(resolved.qualifiedName) ?: continue in getImportStatements()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
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.kt54 override fun qualifiedName(): String = name in classList() method
62 return name == other.qualifiedName() in classList()
DTextTypeParameterItem.kt35 qualifiedName = name
99 … return p.bounds().filter { !it.isJavaLangObject() }.map { it.qualifiedName() } in bounds()
DApiFile.java243 String qualifiedName; in parseClass() local
276 qualifiedName = qualifiedName(pkg.name(), name); in parseClass()
278 if (api.findClass(qualifiedName) != null) { in parseClass()
279 throw new ApiParseException("Duplicate class found: " + qualifiedName, tokenizer); in parseClass()
282 final TextTypeItem typeInfo = api.obtainTypeFromString(qualifiedName); in parseClass()
549 String qualifiedName = annotation.indexOf('.') == -1 in mergeAnnotations() local
553 annotations.add(qualifiedName); in mergeAnnotations()
975 private static String qualifiedName(String pkg, String className) { in qualifiedName() method in ApiFile
/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/
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.kt89 val qualifiedName = annotation.qualifiedName() ?: continue in <lambda>() constant
90 if (newModifiers.findAnnotation(qualifiedName) == null) { in <lambda>()
DBaseline.kt123 is ClassItem -> element.qualifiedName() in <lambda>()
124 is MethodItem -> element.containingClass().qualifiedName() + "#" + in <lambda>()
126 is FieldItem -> element.containingClass().qualifiedName() + "#" + element.name() in <lambda>()
127 is PackageItem -> element.qualifiedName() in <lambda>()
135 is PsiClass -> element.qualifiedName ?: element.name ?: "?" in <lambda>()
165 is PsiPackage -> element.qualifiedName in <lambda>()
DProguardWriter.kt131 var qualifiedName = cls.qualifiedNameWithDollarInnerClasses() in getCleanTypeName() variable
134 qualifiedName += "[]" in getCleanTypeName()
136 return qualifiedName in getCleanTypeName()
DArtifactTagger.kt100 val pkg = codebase.findPackage(specPkg.qualifiedName()) ?: continue in applyArtifactsFromSpec()
DJDiffXmlWriter.kt173 writer.print(constructor.containingClass().qualifiedName()) in <lambda>()
374 writer.print(type.qualifiedName()) in <lambda>()
DNullabilityAnnotationsValidator.kt137 it.qualifiedName()?.endsWith("NullFromTypeParam") == true in <lambda>()
DSignatureWriter.kt367 writer.print(type.qualifiedName()) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DPackageDocs.kt24 fun getOverviewDocumentation(pkg: PackageItem): String? = overviewDocs[pkg.qualifiedName()]
DItem.kt327 builder.append(item.containingClass().qualifiedName()) in appendMethodSignature()
/tools/apifinder/checks/src/main/java/com/android/apifinder/
DApiFinderDetector.kt58 val className = method.containingClass!!.qualifiedName!! in getApplicableUastTypes()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DStubWriter.kt150 val relative = packageItem.qualifiedName().replace('.', File.separatorChar) in <lambda>()