Home
last modified time | relevance | path

Searched refs:toSource (Results 1 – 15 of 15) 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.kt59 override fun toString(): String = toSource() in <lambda>()
61 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in <lambda>() method in com.android.tools.metalava.model.psi.PsiAnnotationItem
131 return codebase.createAnnotation(xmlAnnotation.toSource(), context) in <lambda>()
307 override fun toString(): String = toSource() in toString()
331 override fun toSource(): String = psiValue.text in toString() method in PsiAnnotationSingleAttributeValue
351 override fun toSource(): String = value.text method
DUAnnotationItem.kt58 override fun toString(): String = toSource() in <lambda>()
60 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in <lambda>() method in com.android.tools.metalava.model.psi.UAnnotationItem
296 override fun toString(): String = toSource() in toString()
328 override fun toSource(): String = getText(psiValue) in toString() method in UAnnotationSingleAttributeValue
348 override fun toSource(): String = getText(value) in toSource() method
DPsiTypePrinter.kt526 sb.append(annotation.toSource()).append(' ') in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocAnalyzer.kt319 val v: Any = value.value() ?: value.toSource() in <lambda>()
328 val v = value.value()?.toString() ?: value.toSource() in <lambda>()
340 sb.append(value.toSource()) in <lambda>()
362 val from: String? = annotation.findAttribute("from")?.value?.toSource() in <lambda>()
363 val to: String? = annotation.findAttribute("to")?.value?.toSource() in <lambda>()
388 val flag = annotation.findAttribute("flag")?.value?.toSource() == "true" in <lambda>()
436 sb.append(value.toSource()) in <lambda>()
DAnnotationFilter.kt96 val existingValue = existingAnnotation.findAttribute(attribute.name)?.value?.toSource() in annotationsMatch()
97 if (existingValue != attribute.value.toSource()) { in annotationsMatch()
147 return AnnotationFilterEntry.fromSource(annotationItem.toSource()) in fromAnnotationItem()
DAnnotationsMerger.kt286 annotation.toSource(showDefaultAttrs = false), in mergeQualifierAnnotationsFromCodebase()
805 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in originalName() method
DAndroidApiChecks.kt192 var perm = value.toSource() in checkRequiresPermission()
DKotlinInteropChecks.kt105 val source = v.toSource() in <lambda>()
DApiAnalyzer.kt713 val perm = (value.value() ?: value.toSource()).toString() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt69 fun toSource( in qualifiedName() method
708 fun toSource(): String in toSource() method
843 override fun toString(): String = toSource() in toString()
867 override fun toSource() = valueSource in toString() method in com.android.tools.metalava.model.DefaultAnnotationSingleAttributeValue
880 override fun toSource() = value method in com.android.tools.metalava.model.DefaultAnnotationArrayAttributeValue
DModifierList.kt578 val source = printAnnotation.toSource(target, showDefaultAttrs = false) in <lambda>()
DClassItem.kt362 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, showDefaultAttrs: Boolean): String = full method
DTextModifiers.kt75 … override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String = source in <lambda>() method