/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/annotationitem/ |
D | CommonAnnotationItemTest.kt | 614 fun `annotation toSource() with annotation values`() { in annotation toSource() with annotation values() 661 val toSource = in annotation toSource() with annotation values() constant 663 assertEquals(toSource, anno.toSource()) in annotation toSource() with annotation values() 668 fun `annotation toSource() with boolean values`() { in annotation toSource() with boolean values() 711 val toSource = "@test.pkg.Test.Anno(booleanValue=true, booleanArrayValue={true, false})" in annotation toSource() with boolean values() constant 712 assertEquals(toSource, anno.toSource()) in annotation toSource() with boolean values() 717 fun `annotation toSource() with char values`() { in annotation toSource() with char values() 760 val toSource = "@test.pkg.Test.Anno(charValue='a', charArrayValue={'a', '\\uff00'})" in annotation toSource() with char values() constant 761 assertEquals(toSource, anno.toSource()) in annotation toSource() with char values() 766 fun `annotation toSource() with class values`() { in annotation toSource() with class values() [all …]
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/ |
D | CommonTypeParameterItemTest.kt | 56 assertThat(typeParameter.toSource()).isEqualTo("T") in Test typeBounds no extends() 269 assertThat(clazzTypeParam.toSource()).isEqualTo("T") in Test method type parameter that references class type parameter() 273 assertThat(methodTypeParam.toSource()).isEqualTo("E extends T") in Test method type parameter that references class type parameter() 305 assertThat(typeParameter.toSource()) in Test type parameter bounds with multiple class parameters() 339 assertThat(typeParam.toSource()) in Test reified type parameter() 373 assertThat(typeParameterT.toSource()).isEqualTo("T") in Test explicit Object bound() 383 assertThat(typeParameterU.toSource()) in Test explicit Object bound()
|
/tools/metalava/metalava-model-text/src/test/resources/ |
D | model-test-suite-baseline.txt | 2 annotation toSource() with char values 3 annotation toSource() with class values 4 annotation toSource() with compound expression values 5 annotation toSource() with number values
|
/tools/metalava/metalava-model/src/test/java/com/android/tools/metalava/model/ |
D | DefaultAnnotationItemTest.kt | 53 assertEquals("@androidx.annotation.Nullable", annotation.toSource()) in supportsDocumentation() 65 assertEquals("@androidx.annotation.IntRange(from=20, to=40)", annotation.toSource()) in testIntRange() 83 annotation.toSource() in testIntDef() 99 assertEquals("STYLE_NO_TITLE", list[1].toSource()) in testIntDef()
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | AnnotationItem.kt | 56 fun toSource( in toSource() method 461 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in toSource() method 468 final override fun toString() = toSource() in toString() 556 fun toSource(): String in toSource() method 746 override fun toSource() = valueSource in toSource() method 748 override fun toString(): String = toSource() in toSource()
|
D | TypeParameterItem.kt | 40 fun toSource(): String { in name() method
|
D | TypeParameterList.kt | 67 append(param.toSource()) in <lambda>()
|
D | ModifierListWriter.kt | 330 val source = printAnnotation.toSource(target, showDefaultAttrs = false) in <lambda>()
|
D | ClassItem.kt | 252 val source = value?.value?.toSource() in <lambda>()
|
D | TypeItem.kt | 616 append(annotation.toSource()) in hashCode()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | AnnotationFilter.kt | 164 val existingValueSource = existingValue?.toSource() in annotationsMatch() 165 val attributeValueSource = attribute.value.toSource() in annotationsMatch() 256 return fromSource(annotationItem.toSource()) in fromAnnotationItem()
|
D | AndroidApiChecks.kt | 210 var perm = value.toSource() in checkRequiresPermission()
|
D | KotlinInteropChecks.kt | 118 val source = v.toSource() in <lambda>()
|
D | AnnotationsMerger.kt | 320 annotation.toSource(showDefaultAttrs = false), in <lambda>()
|
D | ApiAnalyzer.kt | 785 val perm = (value.value() ?: value.toSource()).toString() in <lambda>()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/ |
D | DocAnalyzer.kt | 330 val v: Any = value.value() ?: value.toSource() in <lambda>() 341 val v = value.value()?.toString() ?: value.toSource() in <lambda>() 355 sb.append(value.toSource()) in <lambda>() 379 val from: String? = annotation.findAttribute("from")?.value?.toSource() in <lambda>() 380 val to: String? = annotation.findAttribute("to")?.value?.toSource() in <lambda>() 401 val flag = annotation.findAttribute("flag")?.value?.toSource() == "true" in <lambda>() 455 sb.append(value.toSource()) in <lambda>()
|
/tools/metalava/metalava-model-turbine/src/test/resources/ |
D | model-test-suite-baseline.txt | 2 annotation toSource() with compound expression values 3 annotation toSource() with constant literal values
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/ |
D | BootstrapSourceModelProviderTest.kt | 488 assertEquals("@test.Nullable", nullAnno.toSource()) in 140 - test annotations() 492 retAnno.toSource() in 140 - test annotations() 496 tarAnno.toSource() in 140 - test annotations()
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | UAnnotationItem.kt | 62 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in toSource() method
|
D | PsiAnnotationItem.kt | 60 override fun toSource(target: AnnotationTarget, showDefaultAttrs: Boolean): String { in toSource() method
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/lint/ |
D | ApiLint.kt | 504 if (value == attr.value.toSource()) { in <lambda>()
|