/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/ |
D | DefaultClassTypeItem.kt | 19 import com.android.tools.metalava.model.ClassTypeItem 30 override val outerClassType: ClassTypeItem?, 31 ) : ClassTypeItem, DefaultTypeItem(modifiers) { 32 override val className: String = ClassTypeItem.computeClassName(qualifiedName) 40 outerClass: ClassTypeItem?, in asClass() 42 ): ClassTypeItem { in asClass()
|
D | DefaultResolvedClassTypeItem.kt | 20 import com.android.tools.metalava.model.ClassTypeItem 29 ) : ClassTypeItem, DefaultTypeItem(modifiers) { 40 outerClass: ClassTypeItem?, in asClass() 42 ): ClassTypeItem { in asClass() 47 fun createForClass(classItem: ClassItem): ClassTypeItem { in createForClass()
|
D | TypeItemFactory.kt | 21 import com.android.tools.metalava.model.ClassTypeItem in <lambda>() 80 fun getInterfaceType(underlyingType: T): ClassTypeItem in <lambda>() 83 fun getSuperClassType(underlyingType: T): ClassTypeItem in <lambda>() 282 private fun getSuperType(underlyingType: T): ClassTypeItem { in getBoundsType() 284 as ClassTypeItem in getBoundsType()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/ |
D | CommonTypeParameterItemTest.kt | 19 import com.android.tools.metalava.model.ClassTypeItem 94 assertThat(typeBound).isInstanceOf(ClassTypeItem::class.java) in Test typeBounds extends Comparable() 95 assertThat((typeBound as ClassTypeItem).qualifiedName).isEqualTo("java.lang.Comparable") in Test typeBounds extends Comparable() 131 assertThat(first).isInstanceOf(ClassTypeItem::class.java) in Test typeBounds multiple() 132 assertThat((first as ClassTypeItem).qualifiedName).isEqualTo("java.lang.Object") in Test typeBounds multiple() 133 assertThat(second).isInstanceOf(ClassTypeItem::class.java) in Test typeBounds multiple() 134 assertThat((second as ClassTypeItem).qualifiedName).isEqualTo("java.lang.Comparable") in Test typeBounds multiple() 172 assertThat(classTypeParamBound).isInstanceOf(ClassTypeItem::class.java) in Test self-referential type parameter() 173 assertThat((classTypeParamBound as ClassTypeItem).qualifiedName) in Test self-referential type parameter() 182 assertThat(methodTypeParamBound).isInstanceOf(ClassTypeItem::class.java) in Test self-referential type parameter() [all …]
|
D | CommonTypeItemTest.kt | 21 import com.android.tools.metalava.model.ClassTypeItem 388 assertThat(paramType).isInstanceOf(ClassTypeItem::class.java) in Test wildcard types() 389 assertThat((paramType as ClassTypeItem).arguments).hasSize(1) in Test wildcard types() 726 assertThat(stringType).isInstanceOf(ClassTypeItem::class.java) in Test class types() 727 assertThat((stringType as ClassTypeItem).qualifiedName).isEqualTo("java.lang.String") in Test class types() 733 assertThat(stringListType).isInstanceOf(ClassTypeItem::class.java) in Test class types() 734 assertThat((stringListType as ClassTypeItem).qualifiedName).isEqualTo("java.util.List") in Test class types() 741 assertThat(arrayListType).isInstanceOf(ClassTypeItem::class.java) in Test class types() 742 assertThat((arrayListType as ClassTypeItem).qualifiedName).isEqualTo("java.util.List") in Test class types() 750 assertThat(mapType).isInstanceOf(ClassTypeItem::class.java) in Test class types() [all …]
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | TextClassItem.kt | 23 import com.android.tools.metalava.model.ClassTypeItem 63 override fun interfaceTypes(): List<ClassTypeItem> = interfaceTypes in interfaceTypes() 101 private var superClassType: ClassTypeItem? = null in containingPackage() 105 override fun superClassType(): ClassTypeItem? = superClassType in containingPackage() 107 internal fun setSuperClassType(superClassType: ClassTypeItem?) { in containingPackage() 111 override fun setInterfaceTypes(interfaceTypes: List<ClassTypeItem>) { in setInterfaceTypes() 116 private lateinit var cachedType: ClassTypeItem 118 override fun type(): ClassTypeItem { in type() 125 private var interfaceTypes = emptyList<ClassTypeItem>()
|
D | ClassCharacteristics.kt | 20 import com.android.tools.metalava.model.ClassTypeItem 52 val superClassType: ClassTypeItem?,
|
D | StubClassBuilder.kt | 20 import com.android.tools.metalava.model.ClassTypeItem in <lambda>() 46 var superClassType: ClassTypeItem? = null in <lambda>()
|
D | TextConstructorItem.kt | 19 import com.android.tools.metalava.model.ClassTypeItem 29 returnType: ClassTypeItem,
|
D | TextTypeItemFactory.kt | 20 import com.android.tools.metalava.model.ClassTypeItem in <lambda>() 87 if (exceptionTypeItem is ClassTypeItem) { in <lambda>()
|
D | TextTypeParser.kt | 22 import com.android.tools.metalava.model.ClassTypeItem in <lambda>() 368 ): ClassTypeItem { in <lambda>() 380 outerClassType: ClassTypeItem?, in <lambda>() 384 ): ClassTypeItem { in <lambda>() 819 override fun visitClassType(classType: ClassTypeItem) { in <lambda>()
|
D | TextCodebase.kt | 23 import com.android.tools.metalava.model.ClassTypeItem in <lambda>() 119 fun requireStubKindFor(classTypeItem: ClassTypeItem, stubKind: StubKind) { in <lambda>()
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | TypeVisitor.kt | 24 fun visit(classType: ClassTypeItem) = Unit in <lambda>() 44 override fun visit(classType: ClassTypeItem) { in visit() 71 open fun visitClassType(classType: ClassTypeItem) = Unit in visitType() 102 fun visit(classType: ClassTypeItem, other: List<TypeItem>) { in visitType() 108 other.mapNotNull { (it as? ClassTypeItem)?.outerClassType } in visitType() 113 other.mapNotNull { (it as? ClassTypeItem)?.arguments?.getOrNull(index) } in visitType() 148 open fun visitClassType(classType: ClassTypeItem, other: List<TypeItem>) = Unit in visitType()
|
D | TypeItem.kt | 495 is ClassTypeItem -> { in hashCode() 633 is ClassTypeItem -> append(type.qualifiedName) in hashCode() 875 interface ClassTypeItem : TypeItem, BoundsTypeItem, ReferenceTypeItem, ExceptionTypeItem { interface 888 val outerClassType: ClassTypeItem? 918 override fun duplicate(): ClassTypeItem = in hasTypeArguments() 926 fun duplicate(outerClass: ClassTypeItem?, arguments: List<TypeArgumentTypeItem>): ClassTypeItem in duplicate() 928 override fun convertType(typeParameterBindings: TypeParameterBindings): ClassTypeItem { in duplicate() 936 if (other !is ClassTypeItem) return false in equalToType() 966 interface LambdaTypeItem : ClassTypeItem { 983 outerClass: ClassTypeItem?, in duplicate() [all …]
|
D | ClassItem.kt | 111 fun superClassType(): ClassTypeItem? in <lambda>() 154 @MetalavaApi fun interfaceTypes(): List<ClassTypeItem> in <lambda>() 206 override fun type(): ClassTypeItem in <lambda>() 224 fun setInterfaceTypes(interfaceTypes: List<ClassTypeItem>) in <lambda>() 457 var superClassType: ClassTypeItem? = superClassType() ?: return null in <lambda>() 720 superClassType as? ClassTypeItem ?: continue in <lambda>() 749 classTypeItem: ClassTypeItem in <lambda>() 756 if (it is ClassTypeItem && it.arguments.isNotEmpty()) { in <lambda>()
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbineClassItem.kt | 22 import com.android.tools.metalava.model.ClassTypeItem in <lambda>() 62 private var superClassType: ClassTypeItem? = null in <lambda>() 76 private lateinit var interfaceTypesList: List<ClassTypeItem> in <lambda>() 141 override fun interfaceTypes(): List<ClassTypeItem> = interfaceTypesList in <lambda>() 157 override fun setInterfaceTypes(interfaceTypes: List<ClassTypeItem>) { in <lambda>() 161 internal fun setSuperClassType(superClassType: ClassTypeItem?) { in <lambda>() 167 override fun superClassType(): ClassTypeItem? = superClassType in <lambda>() 170 private lateinit var cachedType: ClassTypeItem in <lambda>() 172 override fun type(): ClassTypeItem { in <lambda>()
|
D | TurbineTypeItemFactory.kt | 19 import com.android.tools.metalava.model.ClassTypeItem in <lambda>() 107 var outerClass: ClassTypeItem? = null in <lambda>() 245 private fun getOuterClassType(type: Type.ClassTy.SimpleClassTy): ClassTypeItem { in <lambda>() 259 private fun createOuterClassType(element: Element): ClassTypeItem? { in <lambda>() 282 outerClass: ClassTypeItem?, in <lambda>() 284 ): ClassTypeItem { in <lambda>()
|
D | TurbineConstructorItem.kt | 19 import com.android.tools.metalava.model.ClassTypeItem 33 returnType: ClassTypeItem,
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiTypeItem.kt | 20 import com.android.tools.metalava.model.ClassTypeItem 90 ) : ClassTypeItem, PsiTypeItem(psiType, modifiers) { 98 outerClass: ClassTypeItem?, in asClass() 100 ): ClassTypeItem = in asClass() 137 outerClass: ClassTypeItem?, in asClass()
|
D | PsiClassItem.kt | 23 import com.android.tools.metalava.model.ClassTypeItem in <lambda>() 63 private val superClassType: ClassTypeItem?, in <lambda>() 64 private var interfaceTypes: List<ClassTypeItem>, in <lambda>() 101 override fun superClassType(): ClassTypeItem? = superClassType in <lambda>() 112 override fun interfaceTypes(): List<ClassTypeItem> = interfaceTypes in <lambda>() 114 override fun setInterfaceTypes(interfaceTypes: List<ClassTypeItem>) { in <lambda>() 185 override fun type(): ClassTypeItem { in <lambda>() 548 ): Pair<ClassTypeItem?, List<ClassTypeItem>> { in <lambda>()
|
D | PsiConstructorItem.kt | 19 import com.android.tools.metalava.model.ClassTypeItem 44 returnType: ClassTypeItem,
|
D | PsiTypeItemFactory.kt | 20 import com.android.tools.metalava.model.ClassTypeItem in <lambda>() 324 className = ClassTypeItem.computeClassName(qualifiedName), in <lambda>() 514 typeItem is ClassTypeItem && typeItem.modifiers.nullability() == TypeNullability.NONNULL in <lambda>() 615 className = ClassTypeItem.computeClassName(qualifiedName), in <lambda>()
|
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/ |
D | TextTypeParserCacheTest.kt | 20 import com.android.tools.metalava.model.ClassTypeItem in <lambda>() 205 assertThat(bar1Param).isInstanceOf(ClassTypeItem::class.java) in <lambda>() 207 assertThat(bar3Param).isInstanceOf(ClassTypeItem::class.java) in <lambda>() 318 val second = parser.obtainTypeFromString("List<Number>", emptyScope) as ClassTypeItem in <lambda>() 329 parser.obtainTypeFromString("List<? extends Number>", emptyScope) as ClassTypeItem in <lambda>() 341 parser.obtainTypeFromString("List<? super Number>", emptyScope) as ClassTypeItem in <lambda>()
|
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiAnnotationMixtureTest.kt | 20 import com.android.tools.metalava.model.ClassTypeItem 92 assertThat(string).isInstanceOf(ClassTypeItem::class.java) in foo1()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | SignatureInputOutputTest.kt | 21 import com.android.tools.metalava.model.ClassTypeItem in <lambda>() 391 assertThat((param.type() as ClassTypeItem).qualifiedName).isEqualTo("test.pkg.Foo") in <lambda>() 424 val mapType = p1.type() as ClassTypeItem in <lambda>() 466 val mapType = p1.type() as ClassTypeItem in <lambda>() 508 assertThat(annotation).isInstanceOf(ClassTypeItem::class.java) in <lambda>() 509 assertThat((annotation as ClassTypeItem).qualifiedName) in <lambda>()
|