Home
last modified time | relevance | path

Searched refs:typeItem (Results 1 – 10 of 10) sorted by relevance

/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItemFactory.kt57 var typeItem = in <lambda>() variable
68 typeItem is ArrayTypeItem && in <lambda>()
70 forcedComponentNullability != typeItem.componentType.modifiers.nullability() in <lambda>()
72 typeItem = in <lambda>()
73 typeItem.duplicate(typeItem.componentType.duplicate(forcedComponentNullability)) in <lambda>()
77 val typeNullability = typeItem.modifiers.nullability() in <lambda>()
79 contextNullability.compute(typeNullability, typeItem.modifiers.annotations()) in <lambda>()
81 typeItem.duplicate(actualTypeNullability) in <lambda>()
82 } else typeItem in <lambda>()
DTextTypeParser.kt770 val typeItem = createTypeItem(typeParameterScope) in <lambda>() constant
779 unqualifiedNamesInType = unqualifiedNameGatherer.gatherFrom(typeItem) in <lambda>()
787 scopeToItem[scopeForCaching] = typeItem in <lambda>()
790 return typeItem in <lambda>()
842 fun gatherFrom(typeItem: TypeItem): Set<String> { in <lambda>()
844 typeItem.accept(this) in <lambda>()
DApiFile.kt1776 private fun synchronizeNullability(typeItem: TypeItem, modifiers: DefaultModifierList) { in synchronizeNullability()
1781 if (typeItem is ArrayTypeItem && typeItem.isVarargs) { in synchronizeNullability()
1784 val nullability = typeItem.modifiers.nullability() in synchronizeNullability()
1785 if (typeItem !is PrimitiveTypeItem && nullability == TypeNullability.NONNULL) { in synchronizeNullability()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonParameterizedTypeItemTest.kt119 val typeItem: TypeItem, in data() constant in com.android.tools.metalava.model.testsuite.typeitem.CommonParameterizedTypeItemTest.TestContext
153 val typeItem = parameterItem.type() in data() constant
156 typeItem = typeItem, in data()
165 assertEquals(params.expectedAsClassName, typeItem.asClass()?.qualifiedName()) in Test asClass()
DCommonInternalNameTest.kt218 val typeItem = params.getTypeItem(methodItem) in test() constant
219 assertEquals(params.internalName, typeItem.internalName()) in test()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItemFactory.kt512 private fun unboxTypeWherePossible(typeItem: TypeItem): TypeItem { in <lambda>()
514 typeItem is ClassTypeItem && typeItem.modifiers.nullability() == TypeNullability.NONNULL in <lambda>()
516 boxedToPsiPrimitiveType[typeItem.qualifiedName]?.let { psiPrimitiveType -> in <lambda>()
520 return typeItem in <lambda>()
524 private fun unwrapInputType(typeItem: TypeItem): TypeItem { in <lambda>()
525 return unboxTypeWherePossible((typeItem as? WildcardTypeItem)?.superBound ?: typeItem) in <lambda>()
531 private fun unwrapOutputType(typeItem: TypeItem): TypeItem { in <lambda>()
532 return unboxTypeWherePossible((typeItem as? WildcardTypeItem)?.extendsBound ?: typeItem) in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt246 private fun writeExtendsOrImplementsType(typeItem: TypeItem) { in <lambda>()
248 typeItem.toTypeString( in <lambda>()
311 fullInterfaces.forEach { typeItem -> writeExtendsOrImplementsType(typeItem) } in <lambda>() method
DAnnotationsMerger.kt285 old.type()?.let { typeItem -> in <lambda>() method
286 if (typeItem.modifiers.annotations().isEmpty()) return in <lambda>()
327 private fun mergeTypeAnnotations(typeItem: TypeItem, new: Item) { in <lambda>()
328 for (annotation in typeItem.modifiers.annotations()) { in <lambda>()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineTypeItemFactory.kt222 return annosList.foldIndexed(componentType) { index, typeItem, annos -> in <lambda>() method
233 DefaultArrayTypeItem(modifiers, typeItem, arrayVarArg) in <lambda>()
DTurbineCodebaseInitialiser.kt955 private fun matchType(typeItem: TypeItem, classItem: ClassItem): Boolean = in <lambda>()
956 typeItem is ClassTypeItem && typeItem.qualifiedName == classItem.qualifiedName() in <lambda>()