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.kt56 override fun toString(): String = toSource() in <lambda>()
58 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in <lambda>() method in com.android.tools.metalava.model.psi.PsiAnnotationItem
107 return codebase.createAnnotation(xmlAnnotation.toSource(), context) in <lambda>()
284 override fun toString(): String = toSource() in toString()
314 override fun toSource(): String = psiValue.text in toString() method in PsiAnnotationSingleAttributeValue
334 override fun toSource(): String = value.text method
DUAnnotationItem.kt56 override fun toString(): String = toSource() in <lambda>()
58 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in <lambda>() method in com.android.tools.metalava.model.psi.UAnnotationItem
284 override fun toString(): String = toSource() in toString()
325 override fun toSource(): String = getText(psiValue) in toString() method in UAnnotationSingleAttributeValue
345 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.kt303 val v: Any = value.value() ?: value.toSource() in <lambda>()
312 val v = value.value()?.toString() ?: value.toSource() in <lambda>()
324 sb.append(value.toSource()) in <lambda>()
346 val from: String? = annotation.findAttribute("from")?.value?.toSource() in <lambda>()
347 val to: String? = annotation.findAttribute("to")?.value?.toSource() in <lambda>()
372 val flag = annotation.findAttribute("flag")?.value?.toSource() == "true" in <lambda>()
420 sb.append(value.toSource()) in <lambda>()
DAnnotationFilter.kt110 val existingValueSource = existingValue?.toSource() in annotationsMatch()
111 val attributeValueSource = attribute.value.toSource() in annotationsMatch()
180 return AnnotationFilterEntry.fromSource(annotationItem.toSource()) in fromAnnotationItem()
DAnnotationsMerger.kt286 annotation.toSource(showDefaultAttrs = false), in <lambda>()
812 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in toSource() method
DAndroidApiChecks.kt194 var perm = value.toSource() in checkRequiresPermission()
DKotlinInteropChecks.kt107 val source = v.toSource() in <lambda>()
DApiAnalyzer.kt715 val perm = (value.value() ?: value.toSource()).toString() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt71 fun toSource( in toSource() method
660 fun toSource(): String in toSource() method
795 override fun toString(): String = toSource() in toString()
820 override fun toSource() = valueSource in toString() method in com.android.tools.metalava.model.DefaultAnnotationSingleAttributeValue
834 override fun toSource() = value method in com.android.tools.metalava.model.DefaultAnnotationArrayAttributeValue
DModifierList.kt521 val source = printAnnotation.toSource(target, showDefaultAttrs = false) in <lambda>()
DClassItem.kt375 val source = value?.value?.toSource() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextBackedAnnotationItem.kt59 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String = full method
DTextModifiers.kt74 … override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String = source in <lambda>() method