Home
last modified time | relevance | path

Searched refs:annotationItem (Results 1 – 7 of 7) sorted by relevance

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DAnnotationManager.kt131 protected abstract fun getKeyForAnnotationItem(annotationItem: AnnotationItem): String in getAnnotationInfo()
142 protected abstract fun computeAnnotationInfo(annotationItem: AnnotationItem): AnnotationInfo in getAnnotationInfo()
156 override fun getKeyForAnnotationItem(annotationItem: AnnotationItem): String { in getKeyForAnnotationItem()
159 return annotationItem.qualifiedName!! in getKeyForAnnotationItem()
162 override fun computeAnnotationInfo(annotationItem: AnnotationItem): AnnotationInfo { in computeAnnotationInfo()
163 return AnnotationInfo(annotationItem.qualifiedName!!) in computeAnnotationInfo()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DDefaultAnnotationManager.kt54 typealias KeyFactory = (annotationItem: AnnotationItem) -> String in <lambda>()
85 fun useSourceAsKey(annotationItem: AnnotationItem): String { in <lambda>()
86 val qualifiedName = annotationItem.qualifiedName!! in <lambda>()
87 val attributes = annotationItem.attributes in <lambda>()
123 override fun getKeyForAnnotationItem(annotationItem: AnnotationItem): String { in <lambda>()
124 val qualifiedName = annotationItem.qualifiedName!! in <lambda>()
129 return keyFactory(annotationItem) in <lambda>()
136 override fun computeAnnotationInfo(annotationItem: AnnotationItem): AnnotationInfo { in <lambda>()
137 return LazyAnnotationInfo(config, annotationItem) in <lambda>()
642 private val annotationItem: AnnotationItem, constant in com.android.tools.metalava.LazyAnnotationInfo
[all …]
DExtractAnnotations.kt434 annotationItem: AnnotationItem in <lambda>()
436 val uAnnotation = annotationItem.uAnnotation ?: return in <lambda>()
437 val qualifiedName = annotationItem.qualifiedName in <lambda>()
494 val inlineConstants = isInlinedConstant(annotationItem) in <lambda>()
508 if (("prefix" == name || "suffix" == name) && annotationItem.isTypeDefAnnotation()) { in <lambda>()
544 private fun isInlinedConstant(annotationItem: AnnotationItem): Boolean { in <lambda>()
545 return annotationItem.isTypeDefAnnotation() in <lambda>()
DAnnotationFilter.kt247 fun fromAnnotationItem(annotationItem: AnnotationItem): AnnotationFilterEntry { in fromAnnotationItem()
256 return fromSource(annotationItem.toSource()) in fromAnnotationItem()
DAnnotationsMerger.kt584 val annotationItem = createAnnotation(annotationElement) ?: continue in <lambda>() constant
585 mergeAnnotation(item, annotationItem) in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiPropertyItem.kt124 val annotationItem = UAnnotationItem.create(codebase, uAnnotation) in <lambda>() constant
125 if (annotationItem !in modifiers.annotations()) { in <lambda>()
126 modifiers.addAnnotation(annotationItem) in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt225 val annotationItem = codebase.assertClass("test.pkg.TestAnnotation") in 100 - check class types() constant
228 assertEquals(true, annotationItem.isAnnotationType()) in 100 - check class types()