/tools/metalava/src/test/java/com/android/tools/metalava/model/ |
D | TypeItemTest.kt | 28 … assertThat(TypeItem.shortenTypes("@android.support.annotation.Nullable")).isEqualTo("@Nullable") in test() 29 assertThat(TypeItem.shortenTypes(JAVA_LANG_STRING)).isEqualTo("String") in test() 30 …assertThat(TypeItem.shortenTypes("java.lang.reflect.Method")).isEqualTo("java.lang.reflect.Method") in test() 31 …assertThat(TypeItem.shortenTypes("java.util.List<java.lang.String>")).isEqualTo("java.util.List<ja… in test() 32 …assertThat(TypeItem.shortenTypes("java.util.List<@android.support.annotation.NonNull java.lang.Str… in test() 39 assertThat(TypeItem.equalsWithoutSpace("", "")).isTrue() in testEqualsWithoutSpace() 40 assertThat(TypeItem.equalsWithoutSpace(" ", "")).isTrue() in testEqualsWithoutSpace() 41 assertThat(TypeItem.equalsWithoutSpace("", " ")).isTrue() in testEqualsWithoutSpace() 42 assertThat(TypeItem.equalsWithoutSpace(" ", " ")).isTrue() in testEqualsWithoutSpace() 43 assertThat(TypeItem.equalsWithoutSpace("true", "tr ue")).isTrue() in testEqualsWithoutSpace() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextClassItem.kt | 30 import com.android.tools.metalava.model.TypeItem 75 override fun interfaceTypes(): List<TypeItem> = interfaceTypes in interfaceTypes() 116 override fun toType(): TypeItem { in containingPackage() 164 private var superClassType: TypeItem? = null 167 override fun superClassType(): TypeItem? = superClassType in superClass() 169 override fun setSuperClass(superClass: ClassItem?, superClassType: TypeItem?) { in superClass() 174 override fun setInterfaceTypes(interfaceTypes: List<TypeItem>) { in setInterfaceTypes() 190 private var interfaceTypes = mutableListOf<TypeItem>() 201 fun addInterface(itf: TypeItem) { in constructors() 230 override fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { in filteredSuperClassType()
|
D | TextTypeItem.kt | 27 import com.android.tools.metalava.model.TypeItem 38 ) : TypeItem { 108 is TextTypeItem -> TypeItem.equalsWithoutSpace(toString(), other.toString()) in qualifiedTypeName() 109 is TypeItem -> { in qualifiedTypeName() 112 if (TypeItem.equalsWithoutSpace(thisString, otherString)) { in qualifiedTypeName() 202 override fun convertType(replacementMap: Map<String, String>?, owner: Item?): TypeItem { in typeArgumentClasses()
|
D | TextPropertyItem.kt | 23 import com.android.tools.metalava.model.TypeItem 51 override fun type(): TypeItem = type
|
D | TextFieldItem.kt | 23 import com.android.tools.metalava.model.TypeItem 52 override fun type(): TypeItem = type in hashCode()
|
D | TextMethodItem.kt | 26 import com.android.tools.metalava.model.TypeItem 83 override fun returnType(): TypeItem? = returnType in isConstructor()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ClassItem.kt | 95 fun superClassType(): TypeItem? in <lambda>() 146 fun interfaceTypes(): List<TypeItem> in <lambda>() 199 fun toType(): TypeItem in <lambda>() 201 override fun type(): TypeItem? = null in <lambda>() 220 fun setSuperClass(superClass: ClassItem?, superClassType: TypeItem? = superClass?.toType()) in <lambda>() 223 fun setInterfaceTypes(interfaceTypes: List<TypeItem>) in <lambda>() 533 fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { in <lambda>() 534 var superClassType: TypeItem? = superClassType() ?: return null in <lambda>() 635 fun filteredInterfaceTypes(predicate: Predicate<Item>): Collection<TypeItem> { in <lambda>() 647 fun allInterfaceTypes(predicate: Predicate<Item>): Collection<TypeItem> { in <lambda>() [all …]
|
D | TypeItem.kt | 35 interface TypeItem { in <lambda>() interface 99 fun convertType(from: ClassItem, to: ClassItem): TypeItem { in <lambda>() 108 fun convertType(replacementMap: Map<String, String>?, owner: Item? = null): TypeItem in <lambda>() 252 val comparator: Comparator<TypeItem> = Comparator { type1, type2 -> in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiClassItem.kt | 28 import com.android.tools.metalava.model.TypeItem in <lambda>() 73 private var superClassType: TypeItem? = null in <lambda>() 75 override fun superClassType(): TypeItem? = superClassType in <lambda>() 77 override fun setSuperClass(superClass: ClassItem?, superClassType: TypeItem?) { in <lambda>() 94 override fun interfaceTypes(): List<TypeItem> = interfaceTypes in <lambda>() 96 override fun setInterfaceTypes(interfaceTypes: List<TypeItem>) { in <lambda>() 144 private lateinit var interfaceTypes: List<TypeItem> in <lambda>() 164 override fun toType(): TypeItem { in <lambda>() 268 interfaceTypes: List<TypeItem>, in <lambda>()
|
D | PsiTypeItem.kt | 26 import com.android.tools.metalava.model.TypeItem 60 ) : TypeItem { 159 toString = TypeItem.formatType( in toTypeString() 207 is TypeItem -> TypeItem.equalsWithoutSpace(toTypeString(), other.toTypeString()) in equals() 322 override fun convertType(replacementMap: Map<String, String>?, owner: Item?): TypeItem { in convertType() 431 return TypeItem.formatType(typeString) in toTypeString() 710 return TypeItem.cleanupGenerics(typeString) in typeParameterList()
|
D | PsiPropertyItem.kt | 22 import com.android.tools.metalava.model.TypeItem 44 override fun type(): TypeItem = fieldType in type()
|
D | PsiFieldItem.kt | 21 import com.android.tools.metalava.model.TypeItem 46 override fun type(): TypeItem = fieldType in type()
|
D | PsiMethodItem.kt | 25 import com.android.tools.metalava.model.TypeItem in <lambda>() 106 override fun returnType(): TypeItem? = returnType in <lambda>() 296 sb.append(TypeItem.convertTypeString(typeParameters, replacementMap)) in <lambda>()
|
D | PsiParameterItem.kt | 21 import com.android.tools.metalava.model.TypeItem 161 override fun type(): TypeItem = type in type()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | NullnessMigration.kt | 25 import com.android.tools.metalava.model.TypeItem 77 private fun hasNullnessInformation(type: TypeItem): Boolean { in hasNullnessInformation() 86 private fun checkType(old: TypeItem, new: TypeItem) { in checkType()
|
D | SignatureWriter.kt | 29 import com.android.tools.metalava.model.TypeItem in <lambda>() 228 … val all: Sequence<TypeItem> = if (isInterface && compatibility.extendsForInterfaceSuperClass) { in <lambda>() 254 all.sortedWith(TypeItem.comparator).forEach { item -> in <lambda>() 310 type: TypeItem?, in <lambda>() 326 typeString = TypeItem.shortenTypes(typeString) in <lambda>()
|
D | NullabilityAnnotationsValidator.kt | 26 import com.android.tools.metalava.model.TypeItem in <lambda>() 117 private fun checkItem(method: MethodItem, label: String, type: TypeItem?, item: Item) { in <lambda>() 144 type: TypeItem, in <lambda>()
|
D | ApiLint.kt | 138 import com.android.tools.metalava.model.TypeItem in <lambda>() 267 private fun checkType(type: TypeItem, item: Item) { in <lambda>() 285 interfaces: Sequence<TypeItem>, in <lambda>() 1263 private fun checkAidl(cls: ClassItem, superClass: ClassItem?, interfaces: Sequence<TypeItem>) { in <lambda>() 1385 fun getTypePackage(type: TypeItem?): PackageItem? { in <lambda>() 1393 fun getTypeRank(type: TypeItem?): Int { in <lambda>() 1536 type: TypeItem, in <lambda>() 1736 private fun checkBitSet(type: TypeItem, typeString: String, item: Item) { in <lambda>() 1783 private fun checkBoxed(type: TypeItem, item: Item) { in <lambda>() 2858 private fun checkCollectionsOverArrays(type: TypeItem, typeString: String, item: Item) { in <lambda>() [all …]
|
D | ApiAnalyzer.kt | 31 import com.android.tools.metalava.model.TypeItem in <lambda>() 336 var interfaceTypes: MutableList<TypeItem>? = null in <lambda>() 360 val mappedType: TypeItem = hiddenInterface.convertType(mapping, cls) in <lambda>() 383 val interfaces: Set<TypeItem> = cls.allInterfaceTypes(filterReference).asSequence().toSet() in <lambda>() 883 private fun checkTypeReferencesHidden(item: Item, type: TypeItem) { in <lambda>() 1258 private fun findHiddenClasses(ti: TypeItem?, stubImportPackages: Set<String>?): ClassItem? { in <lambda>()
|
D | JDiffXmlWriter.kt | 27 import com.android.tools.metalava.model.TypeItem in <lambda>() 325 interfaces.sortedWith(TypeItem.comparator).forEach { item -> in <lambda>() 345 private fun formatType(type: TypeItem): String = formatType(type.toTypeString()) in <lambda>()
|
D | ProguardWriter.kt | 25 import com.android.tools.metalava.model.TypeItem 129 private fun getCleanTypeName(t: TypeItem?): String { in getCleanTypeName()
|
D | KotlinInteropChecks.kt | 26 import com.android.tools.metalava.model.TypeItem 317 private fun isKotlinLambda(type: TypeItem) = in isKotlinLambda()
|
D | AndroidApiChecks.kt | 28 import com.android.tools.metalava.model.TypeItem 255 type: TypeItem? in checkVariable()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/ |
D | TypeVisitor.kt | 20 import com.android.tools.metalava.model.TypeItem 24 open fun visitType(type: TypeItem, owner: Item) {} in skip() 25 open fun afterVisitType(type: TypeItem, owner: Item) {} in afterVisitType()
|
/tools/dexter/slicer/export/slicer/ |
D | dex_format.h | 218 struct TypeItem { struct 225 TypeItem list[]; argument
|