/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/ |
D | DefaultPrimitiveTypeItem.kt | 20 import com.android.tools.metalava.model.PrimitiveTypeItem 21 import com.android.tools.metalava.model.PrimitiveTypeItem.Primitive 27 ) : PrimitiveTypeItem, DefaultTypeItem(modifiers) { 28 override fun duplicate(): PrimitiveTypeItem =
|
D | TypeItemFactory.kt | 24 import com.android.tools.metalava.model.PrimitiveTypeItem in <lambda>()
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbineTypeItemFactory.kt | 20 import com.android.tools.metalava.model.PrimitiveTypeItem in <lambda>() 83 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.BOOLEAN) in <lambda>() 85 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.BYTE) in <lambda>() 87 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.CHAR) in <lambda>() 89 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.DOUBLE) in <lambda>() 91 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.FLOAT) in <lambda>() 93 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.INT) in <lambda>() 95 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.LONG) in <lambda>() 97 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.SHORT) in <lambda>() 168 PrimitiveTypeItem.Primitive.VOID in <lambda>() [all …]
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/ |
D | CommonTypeItemTest.kt | 22 import com.android.tools.metalava.model.PrimitiveTypeItem 88 assertThat(returnType).isInstanceOf(PrimitiveTypeItem::class.java) in Test primitive types() 89 assertThat((returnType as PrimitiveTypeItem).kind) in Test primitive types() 90 .isEqualTo(PrimitiveTypeItem.Primitive.VOID) in Test primitive types() 94 PrimitiveTypeItem.Primitive.BOOLEAN, in Test primitive types() 95 PrimitiveTypeItem.Primitive.BYTE, in Test primitive types() 96 PrimitiveTypeItem.Primitive.CHAR, in Test primitive types() 97 PrimitiveTypeItem.Primitive.DOUBLE, in Test primitive types() 98 PrimitiveTypeItem.Primitive.FLOAT, in Test primitive types() 99 PrimitiveTypeItem.Primitive.INT, in Test primitive types() [all …]
|
D | CommonTypeStringTest.kt | 22 import com.android.tools.metalava.model.PrimitiveTypeItem in <lambda>() 215 PrimitiveTypeItem.Primitive.values() in <lambda>() 216 .filter { it != PrimitiveTypeItem.Primitive.VOID } in <lambda>()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | SignatureInputOutputTest.kt | 23 import com.android.tools.metalava.model.PrimitiveTypeItem in <lambda>() 204 assertThat((method.returnType() as PrimitiveTypeItem).kind) in <lambda>() 205 .isEqualTo(PrimitiveTypeItem.Primitive.VOID) in <lambda>() 232 assertThat((method.returnType() as PrimitiveTypeItem).kind) in <lambda>() 233 .isEqualTo(PrimitiveTypeItem.Primitive.INT) in <lambda>() 260 assertThat((param.type() as PrimitiveTypeItem).kind) in <lambda>() 261 .isEqualTo(PrimitiveTypeItem.Primitive.INT) in <lambda>() 284 assertThat((param.type() as PrimitiveTypeItem).kind) in <lambda>() 285 .isEqualTo(PrimitiveTypeItem.Primitive.INT) in <lambda>() 312 assertThat((param.type() as PrimitiveTypeItem).kind) in <lambda>() [all …]
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | TypeVisitor.kt | 20 fun visit(primitiveType: PrimitiveTypeItem) = Unit in <lambda>() 32 override fun visit(primitiveType: PrimitiveTypeItem) { in visit() 67 open fun visitPrimitiveType(primitiveType: PrimitiveTypeItem) = Unit in visitType() 87 fun visit(primitiveType: PrimitiveTypeItem, other: List<TypeItem>) { in visitType() 144 open fun visitPrimitiveType(primitiveType: PrimitiveTypeItem, other: List<TypeItem>) = Unit in visitType()
|
D | TypeItem.kt | 446 is PrimitiveTypeItem -> { in hashCode() 628 is PrimitiveTypeItem -> append(type.kind.primitiveName) in hashCode() 788 interface PrimitiveTypeItem : TypeItem { interface 821 override fun duplicate(): PrimitiveTypeItem in duplicate() 823 override fun convertType(typeParameterBindings: TypeParameterBindings): PrimitiveTypeItem { in duplicate() 828 return (other as? PrimitiveTypeItem)?.kind == kind in equalToType()
|
D | MethodItem.kt | 436 is PrimitiveTypeItem -> false in <lambda>()
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiTypeItemFactory.kt | 22 import com.android.tools.metalava.model.PrimitiveTypeItem in <lambda>() 260 private fun getKind(type: PsiPrimitiveType): PrimitiveTypeItem.Primitive { in <lambda>() 262 PsiTypes.booleanType() -> PrimitiveTypeItem.Primitive.BOOLEAN in <lambda>() 263 PsiTypes.byteType() -> PrimitiveTypeItem.Primitive.BYTE in <lambda>() 264 PsiTypes.charType() -> PrimitiveTypeItem.Primitive.CHAR in <lambda>() 265 PsiTypes.doubleType() -> PrimitiveTypeItem.Primitive.DOUBLE in <lambda>() 266 PsiTypes.floatType() -> PrimitiveTypeItem.Primitive.FLOAT in <lambda>() 267 PsiTypes.intType() -> PrimitiveTypeItem.Primitive.INT in <lambda>() 268 PsiTypes.longType() -> PrimitiveTypeItem.Primitive.LONG in <lambda>() 269 PsiTypes.shortType() -> PrimitiveTypeItem.Primitive.SHORT in <lambda>() [all …]
|
D | PsiTypeItem.kt | 24 import com.android.tools.metalava.model.PrimitiveTypeItem 48 if (this is PrimitiveTypeItem && other !is PrimitiveTypeItem) { in isAssignableFromWithoutUnboxing() 58 override val kind: PrimitiveTypeItem.Primitive, 60 ) : PrimitiveTypeItem, PsiTypeItem(psiType, modifiers) {
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeParser.kt | 26 import com.android.tools.metalava.model.PrimitiveTypeItem in <lambda>() 177 ): PrimitiveTypeItem? { in <lambda>() 180 "byte" -> PrimitiveTypeItem.Primitive.BYTE in <lambda>() 181 "char" -> PrimitiveTypeItem.Primitive.CHAR in <lambda>() 182 "double" -> PrimitiveTypeItem.Primitive.DOUBLE in <lambda>() 183 "float" -> PrimitiveTypeItem.Primitive.FLOAT in <lambda>() 184 "int" -> PrimitiveTypeItem.Primitive.INT in <lambda>() 185 "long" -> PrimitiveTypeItem.Primitive.LONG in <lambda>() 186 "short" -> PrimitiveTypeItem.Primitive.SHORT in <lambda>() 187 "boolean" -> PrimitiveTypeItem.Primitive.BOOLEAN in <lambda>() [all …]
|
D | ApiFile.kt | 37 import com.android.tools.metalava.model.PrimitiveTypeItem in <lambda>() 38 import com.android.tools.metalava.model.PrimitiveTypeItem.Primitive in <lambda>() 1322 if (type is PrimitiveTypeItem) { in parseValue() 1337 type: PrimitiveTypeItem, in parsePrimitiveValue() 1785 if (typeItem !is PrimitiveTypeItem && nullability == TypeNullability.NONNULL) { in synchronizeNullability()
|
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiAnnotationMixtureTest.kt | 21 import com.android.tools.metalava.model.PrimitiveTypeItem 85 assertThat(primitive).isInstanceOf(PrimitiveTypeItem::class.java) in foo1()
|
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/ |
D | TextTypeParserCacheTest.kt | 21 import com.android.tools.metalava.model.PrimitiveTypeItem in <lambda>() 236 assertThat(bar1Param).isInstanceOf(PrimitiveTypeItem::class.java) in <lambda>() 238 assertThat(bar3Param).isInstanceOf(PrimitiveTypeItem::class.java) in <lambda>()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | NullabilityAnnotationsValidator.kt | 26 import com.android.tools.metalava.model.PrimitiveTypeItem in <lambda>() 167 type is PrimitiveTypeItem -> { in <lambda>()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/ |
D | BootstrapSourceModelProviderTest.kt | 22 import com.android.tools.metalava.model.PrimitiveTypeItem 579 assertThat(fieldTypeItem).isInstanceOf(PrimitiveTypeItem::class.java) in 160 - check field type() 580 assertEquals(PrimitiveTypeItem.Primitive.INT, (fieldTypeItem as PrimitiveTypeItem).kind) in 160 - check field type()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | JavaStubWriter.kt | 28 import com.android.tools.metalava.model.PrimitiveTypeItem in <lambda>() 206 if (type !is PrimitiveTypeItem) { in <lambda>()
|
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/ |
D | Assertions.kt | 196 fun TypeItem?.assertPrimitiveTypeItem(body: (PrimitiveTypeItem.() -> Unit)? = null) { in assertPrimitiveTypeItem()
|