Home
last modified time | relevance | path

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

/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.kt281 annotation.toSource(showDefaultAttrs = false), in mergeQualifierAnnotationsFromCodebase()
800 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in originalName() method
DAndroidApiChecks.kt193 var perm = value.toSource() in checkRequiresPermission()
DKotlinInteropChecks.kt106 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/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>()
306 override fun toString(): String = toSource() in toString()
330 override fun toSource(): String = psiValue.text in toString() method in PsiAnnotationSingleAttributeValue
350 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/model/
DAnnotationItem.kt69 fun toSource( in qualifiedName() method
691 fun toSource(): String in toSource() method
826 override fun toString(): String = toSource() in toString()
850 override fun toSource() = valueSource in toString() method in com.android.tools.metalava.model.DefaultAnnotationSingleAttributeValue
863 override fun toSource() = value method in com.android.tools.metalava.model.DefaultAnnotationArrayAttributeValue
DModifierList.kt571 val source = printAnnotation.toSource(target, showDefaultAttrs = false) in <lambda>()
DClassItem.kt362 val source = value?.value?.toSource() in <lambda>()
/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/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