Home
last modified time | relevance | path

Searched refs:toSource (Results 1 – 5 of 5) 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/
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()
DKotlinInteropChecks.kt103 val source = v.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