/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiTypePrinter.kt | 21 import com.android.tools.metalava.model.AnnotationItem in <lambda>() 84 …fun getAnnotatedCanonicalText(type: PsiType, elementAnnotations: List<AnnotationItem>? = null): St… in <lambda>() 91 elementAnnotations: List<AnnotationItem>? in <lambda>() 100 elementAnnotations: List<AnnotationItem>? in <lambda>() 117 elementAnnotations: List<AnnotationItem>? in <lambda>() 155 elementAnnotations: List<AnnotationItem>? in <lambda>() 198 …private fun getCanonicalText(type: PsiArrayType, elementAnnotations: List<AnnotationItem>?): Strin… in <lambda>() 207 elementAnnotations: List<AnnotationItem>? in <lambda>() 232 …private fun getCanonicalText(type: PsiPrimitiveType, elementAnnotations: List<AnnotationItem>?): S… in <lambda>() 239 elementAnnotations: List<AnnotationItem>? in <lambda>() [all …]
|
D | PsiModifierItem.kt | 22 import com.android.tools.metalava.model.AnnotationItem 49 annotations: MutableList<AnnotationItem>? = null 180 val annotations: MutableList<AnnotationItem> = in create() 214 val annotations: MutableList<AnnotationItem> = in create() 223 val annotations: MutableList<AnnotationItem> = uAnnotations in create() 274 val copy: MutableList<AnnotationItem> = ArrayList(originalAnnotations.size) in create()
|
D | UAnnotationItem.kt | 24 import com.android.tools.metalava.model.AnnotationItem in <lambda>() 52 private val qualifiedName = AnnotationItem.mapName(codebase, originalName) in <lambda>() 106 targets = AnnotationItem.computeTargets(this) { className -> in <lambda>() 149 … val qualifiedName = AnnotationItem.mapName(codebase, originalName, null, target) ?: return in <lambda>()
|
D | PsiAnnotationItem.kt | 25 import com.android.tools.metalava.model.AnnotationItem in <lambda>() 53 private val qualifiedName = AnnotationItem.mapName(codebase, originalName) in <lambda>() 107 targets = AnnotationItem.computeTargets(this) { className -> in <lambda>() 164 … val qualifiedName = AnnotationItem.mapName(codebase, originalName, null, target) ?: return in <lambda>()
|
D | PsiTypeItem.kt | 22 import com.android.tools.metalava.model.AnnotationItem 460 … val implicitNullness = if (owner != null) AnnotationItem.getImplicitNullness(owner) else null in getCanonicalText()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | DocAnalyzer.kt | 12 import com.android.tools.metalava.model.AnnotationItem in <lambda>() 150 private fun findThreadAnnotations(annotations: List<AnnotationItem>): List<String> { in <lambda>() 183 annotation: AnnotationItem, in <lambda>() 234 private fun handleKotlinDeprecation(annotation: AnnotationItem, item: Item) { in <lambda>() 245 annotation: AnnotationItem, in <lambda>() 277 annotation: AnnotationItem, in <lambda>() 359 annotation: AnnotationItem, in <lambda>() 384 annotation: AnnotationItem, in <lambda>() 443 annotation: AnnotationItem, in <lambda>() 476 annotation: AnnotationItem, in <lambda>() [all …]
|
D | AnnotationsMerger.kt | 52 import com.android.tools.metalava.model.AnnotationItem 260 annotation: AnnotationItem, in mergeQualifierAnnotationsFromCodebase() 522 val qualifiedName = AnnotationItem.mapName(codebase, originalName) ?: originalName in mergeAnnotations() 562 private fun createAnnotation(annotationElement: Element): AnnotationItem? { in createAnnotation() 796 override fun qualifiedName(): String? = AnnotationItem.mapName(codebase, qualifiedName) in originalName() 801 … val qualifiedName = AnnotationItem.mapName(codebase, qualifiedName, null, target) ?: return "" in originalName()
|
D | AnnotationFilter.kt | 5 import com.android.tools.metalava.model.AnnotationItem in <lambda>() 10 fun matches(annotation: AnnotationItem): Boolean in <lambda>() 47 override fun matches(annotation: AnnotationItem): Boolean { in matches() 138 fun fromAnnotationItem(annotationItem: AnnotationItem): AnnotationFilterEntry { in fromAnnotationItem()
|
D | NullabilityAnnotationsValidator.kt | 20 import com.android.tools.metalava.model.AnnotationItem in <lambda>() 137 private fun isNullFromTypeParam(it: AnnotationItem) = in <lambda>() 140 private fun isAnyNullabilityAnnotation(it: AnnotationItem) = in <lambda>() 145 nullability: AnnotationItem?, in <lambda>()
|
D | ComparisonVisitor.kt | 19 import com.android.tools.metalava.model.AnnotationItem in <lambda>() 307 is AnnotationItem -> 6 in compare() 374 is AnnotationItem -> { in compare() 375 … (item1.qualifiedName() ?: "").compareTo((item2 as AnnotationItem).qualifiedName() ?: "") in compare()
|
D | ExtractAnnotations.kt | 23 import com.android.tools.metalava.model.AnnotationItem in <lambda>() 82 val annotationItem: AnnotationItem, in <lambda>() 608 private fun isInlinedConstant(annotationItem: AnnotationItem): Boolean { in <lambda>()
|
D | CompatibilityCheck.kt | 25 import com.android.tools.metalava.model.AnnotationItem 110 val implicitNullness = AnnotationItem.getImplicitNullness(new) in compare() 117 val name = AnnotationItem.simpleName(oldNullnessAnnotation) in compare()
|
D | NullnessMigration.kt | 19 import com.android.tools.metalava.model.AnnotationItem 103 fun findNullnessAnnotation(item: Item): AnnotationItem? { in findNullnessAnnotation()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiTypePrinterTest.kt | 25 import com.android.tools.metalava.model.AnnotationItem in <lambda>() 773 val elementAnnotations: List<AnnotationItem>?, in <lambda>() 821 fun handleType(type: PsiType, annotations: List<AnnotationItem> = emptyList()) { in <lambda>() 837 var mergeAnnotations: MutableList<AnnotationItem>? = null in <lambda>() 839 val list = mutableListOf<AnnotationItem>() in <lambda>() 846 val list = mutableListOf<AnnotationItem>() in <lambda>() 891 val annotations = mutableListOf<AnnotationItem>() in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | AnnotationItem.kt | 59 interface AnnotationItem { interface 137 fun findTypedefAnnotation(): AnnotationItem? { in findTypedefAnnotation() 160 fun simpleName(item: AnnotationItem): String { in simpleName() 399 annotation: AnnotationItem, in nullableAnnotationName() 657 abstract class DefaultAnnotationItem(override val codebase: Codebase) : AnnotationItem { 662 targets = AnnotationItem.computeTargets(this) { className -> in targets()
|
D | DefaultModifierList.kt | 24 protected open var annotations: MutableList<AnnotationItem>? = null 40 override fun annotations(): List<AnnotationItem> { in annotations() 218 override fun addAnnotation(annotation: AnnotationItem) { in addAnnotation() 225 override fun removeAnnotation(annotation: AnnotationItem) { in removeAnnotation() 229 override fun clearAnnotations(annotation: AnnotationItem) { in clearAnnotations()
|
D | ModifierList.kt | 32 fun annotations(): List<AnnotationItem> in <lambda>() 176 fun findAnnotation(qualifiedName: String): AnnotationItem? { in <lambda>() 177 val mappedName = AnnotationItem.mapName(codebase, qualifiedName) in <lambda>() 574 writer.write(AnnotationItem.shortenAnnotation(source)) in <lambda>()
|
D | MutableModifierList.kt | 36 fun addAnnotation(annotation: AnnotationItem) 37 fun removeAnnotation(annotation: AnnotationItem) 38 fun clearAnnotations(annotation: AnnotationItem)
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextModifiers.kt | 21 import com.android.tools.metalava.model.AnnotationItem in <lambda>() 33 annotations: MutableList<AnnotationItem>? = null in <lambda>() 53 val annotations = ArrayList<AnnotationItem>(annotationSources.size) in <lambda>() 57 val qualifiedName = AnnotationItem.mapName(codebase, originalName) in <lambda>()
|
D | TextBackedAnnotationItem.kt | 20 import com.android.tools.metalava.model.AnnotationItem 43 …qualifiedName = if (mapName) AnnotationItem.mapName(codebase, annotationClass) else annotationClass
|
D | TextTypeItem.kt | 21 import com.android.tools.metalava.model.AnnotationItem 63 var nullable: Boolean? = AnnotationItem.getImplicitNullness(context) in toTypeString()
|
D | TextCodebase.kt | 28 import com.android.tools.metalava.model.AnnotationItem 283 … override fun createAnnotation(source: String, context: Item?, mapName: Boolean): AnnotationItem { in createAnnotation()
|
D | ApiFile.java | 21 import com.android.tools.metalava.model.AnnotationItem; 401 annotation = AnnotationItem.Companion.unshortenAnnotation(annotation); in getAnnotations()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/ |
D | AnnotationItemTest.kt | 25 Assert.assertEquals(expected, AnnotationItem.shortenAnnotation(source)) in checkShortenAnnotation() 26 Assert.assertEquals(source, AnnotationItem.unshortenAnnotation(expected)) in checkShortenAnnotation()
|
/tools/dexter/testdata/expected/ |
D | try_catch.map | 16 AnnotationItem : 549, a [1]
|