Home
last modified time | relevance | path

Searched refs:toSource (Results 1 – 14 of 14) sorted by relevance

/tools/metalava/src/test/java/com/android/tools/metalava/model/
DTextBackedAnnotationItemTest.kt44 assertEquals("@androidx.annotation.Nullable", annotation.toSource()) in supportsDocumentation()
55 assertEquals("@androidx.annotation.IntRange(from = 20, to = 40)", annotation.toSource()) in testIntRange()
72 annotation.toSource() in testIntDef()
88 assertEquals("STYLE_NO_TITLE", list[1].toSource()) in testIntDef()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiAnnotationItem.kt58 override fun toString(): String = toSource() in originalName()
60 override fun toSource(target: AnnotationTarget): String { in originalName() method in com.android.tools.metalava.model.psi.PsiAnnotationItem
121 return codebase.createAnnotation(xmlAnnotation.toSource(), context) in create()
276 override fun toString(): String = toSource() in toString()
300 override fun toSource(): String = psiValue.text in toString() method in PsiAnnotationSingleAttributeValue
321 override fun toSource(): String = value.text method
DUAnnotationItem.kt57 override fun toString(): String = toSource() in originalName()
59 override fun toSource(target: AnnotationTarget): String { in originalName() method in com.android.tools.metalava.model.psi.UAnnotationItem
268 override fun toString(): String = toSource() in toString()
300 override fun toSource(): String = getText(psiValue) in toString() method in UAnnotationSingleAttributeValue
321 override fun toSource(): String = getText(value) in toSource() method
DPsiTypePrinter.kt530 sb.append(annotation.toSource()).append(' ') in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocAnalyzer.kt314 val v: Any = value.value() ?: value.toSource() in <lambda>()
323 val v = value.value()?.toString() ?: value.toSource() in <lambda>()
335 sb.append(value.toSource()) in <lambda>()
357 val from: String? = annotation.findAttribute("from")?.value?.toSource() in <lambda>()
358 val to: String? = annotation.findAttribute("to")?.value?.toSource() in <lambda>()
383 val flag = annotation.findAttribute("flag")?.value?.toSource() == "true" in <lambda>()
431 sb.append(value.toSource()) in <lambda>()
DAnnotationsMerger.kt282 annotation.toSource(), in mergeQualifierAnnotationsFromCodebase()
799 override fun toSource(target: AnnotationTarget): String { in originalName() method
DKotlinInteropChecks.kt101 val source = v.toSource() in ensureExceptionsDocumented()
DAndroidApiChecks.kt193 var perm = value.toSource() in checkRequiresPermission()
DApiAnalyzer.kt719 val perm = (value.value() ?: value.toSource()).toString() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt63 fun toSource(target: AnnotationTarget = AnnotationTarget.SIGNATURE_FILE): String in qualifiedName() method
609 fun toSource(): String in toSource() method
744 override fun toString(): String = toSource() in toString()
768 override fun toSource() = valueSource in toString() method in com.android.tools.metalava.model.DefaultAnnotationSingleAttributeValue
781 override fun toSource() = value method in com.android.tools.metalava.model.DefaultAnnotationArrayAttributeValue
DModifierList.kt541 val source = printAnnotation.toSource(target) in writeAnnotations()
DClassItem.kt359 val source = value?.value?.toSource() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextBackedAnnotationItem.kt62 override fun toSource(target: AnnotationTarget): String = full method
DTextModifiers.kt75 override fun toSource(target: AnnotationTarget): String = source in <lambda>() method