Home
last modified time | relevance | path

Searched refs:findAttribute (Results 1 – 4 of 4) sorted by relevance

/tools/metalava/src/test/java/com/android/tools/metalava/model/
DTextBackedAnnotationItemTest.kt58 assertEquals("from", annotation.findAttribute("from")?.name) in testIntRange()
59 assertEquals("20", annotation.findAttribute("from")?.value.toString()) in testIntRange()
60 assertEquals("to", annotation.findAttribute("to")?.name) in testIntRange()
61 assertEquals("40", annotation.findAttribute("to")?.value.toString()) in testIntRange()
76 val attribute = annotation.findAttribute("value") in testIntDef()
81 annotation.findAttribute("value")?.value.toString() in testIntDef()
/tools/metalava/src/main/java/com/android/tools/metalava/
DAnnotationFilter.kt96 val existingValue = existingAnnotation.findAttribute(attribute.name)?.value?.toSource() in annotationsMatch()
112 fun findAttribute(name: String?): AnnotationAttribute? { in findAttribute() method
DSdkFileWriter.kt82 … annotation.findAttribute(null)?.leafValues()?.firstOrNull()?.resolve() as? FieldItem in generate()
DReporter.kt189 val attribute = annotation.findAttribute(ATTR_VALUE) in isSuppressed()