/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/ |
D | ClassItem.kt | 103 fun superClassType(): TypeItem? in <lambda>() 154 fun interfaceTypes(): List<TypeItem> in <lambda>() 207 fun toType(): TypeItem in <lambda>() 209 override fun type(): TypeItem? = null in <lambda>() 228 fun setSuperClass(superClass: ClassItem?, superClassType: TypeItem? = superClass?.toType()) in <lambda>() 231 fun setInterfaceTypes(interfaceTypes: List<TypeItem>) in <lambda>() 536 fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { in <lambda>() 537 var superClassType: TypeItem? = superClassType() ?: return null in <lambda>() 638 fun filteredInterfaceTypes(predicate: Predicate<Item>): Collection<TypeItem> { in <lambda>() 650 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>() 242 val comparator: Comparator<TypeItem> = Comparator { type1, type2 -> in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextClassItem.kt | 28 import com.android.tools.metalava.model.TypeItem 71 override fun interfaceTypes(): List<TypeItem> = interfaceTypes in interfaceTypes() 112 override fun toType(): TypeItem { in containingPackage() 160 private var superClassType: TypeItem? = null 163 override fun superClassType(): TypeItem? = superClassType in superClass() 165 override fun setSuperClass(superClass: ClassItem?, superClassType: TypeItem?) { in superClass() 170 override fun setInterfaceTypes(interfaceTypes: List<TypeItem>) { in setInterfaceTypes() 186 private var interfaceTypes = mutableListOf<TypeItem>() 197 fun addInterface(itf: TypeItem) { in constructors() 226 override fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { in filteredSuperClassType()
|
D | TextTypeItem.kt | 26 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 | 21 import com.android.tools.metalava.model.TypeItem 49 override fun type(): TypeItem = type
|
D | TextFieldItem.kt | 21 import com.android.tools.metalava.model.TypeItem 50 override fun type(): TypeItem = type in hashCode()
|
D | TextMethodItem.kt | 24 import com.android.tools.metalava.model.TypeItem 81 override fun returnType(): TypeItem? = returnType in isConstructor()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiClassItem.kt | 28 import com.android.tools.metalava.model.TypeItem in <lambda>() 80 private var superClassType: TypeItem? = null in <lambda>() 82 override fun superClassType(): TypeItem? = superClassType in <lambda>() 84 override fun setSuperClass(superClass: ClassItem?, superClassType: TypeItem?) { in <lambda>() 97 override fun interfaceTypes(): List<TypeItem> = interfaceTypes in <lambda>() 99 override fun setInterfaceTypes(interfaceTypes: List<TypeItem>) { in <lambda>() 147 private lateinit var interfaceTypes: List<TypeItem> in <lambda>() 167 override fun toType(): TypeItem { in <lambda>() 277 interfaceTypes: List<TypeItem>, in <lambda>()
|
D | PsiTypeItem.kt | 28 import com.android.tools.metalava.model.TypeItem 61 ) : TypeItem { 160 toString = TypeItem.formatType( in toTypeString() 208 is TypeItem -> TypeItem.equalsWithoutSpace(toTypeString(), other.toTypeString()) in equals() 323 override fun convertType(replacementMap: Map<String, String>?, owner: Item?): TypeItem { in convertType() 438 return TypeItem.formatType(typeString) in toTypeString() 728 return TypeItem.cleanupGenerics(typeString) in typeParameterList()
|
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 | 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 | PsiParameterItem.kt | 21 import com.android.tools.metalava.model.TypeItem 163 override fun type(): TypeItem = type in type()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiLint.kt | 152 import com.android.tools.metalava.model.TypeItem in <lambda>() 283 private fun checkType(type: TypeItem, item: Item) { in <lambda>() 304 interfaces: Sequence<TypeItem>, in <lambda>() 1382 var builtType: TypeItem? = null in <lambda>() 1455 private fun checkAidl(cls: ClassItem, superClass: ClassItem?, interfaces: Sequence<TypeItem>) { in <lambda>() 1577 fun getTypePackage(type: TypeItem?): PackageItem? { in <lambda>() 1585 fun getTypeRank(type: TypeItem?): Int { in <lambda>() 1705 type: TypeItem, in <lambda>() 1903 private fun checkBitSet(type: TypeItem, typeString: String, item: Item) { in <lambda>() 2001 private fun checkBoxed(type: TypeItem, item: Item) { in <lambda>() [all …]
|
D | SignatureWriter.kt | 29 import com.android.tools.metalava.model.TypeItem in <lambda>() 224 … val all: Sequence<TypeItem> = if (isInterface && compatibility.extendsForInterfaceSuperClass) { in <lambda>() 250 all.sortedWith(TypeItem.comparator).forEach { item -> in <lambda>() 306 type: TypeItem?, in <lambda>() 322 typeString = TypeItem.shortenTypes(typeString) in <lambda>()
|
D | ApiAnalyzer.kt | 31 import com.android.tools.metalava.model.TypeItem in <lambda>() 286 var interfaceTypes: MutableList<TypeItem>? = null in <lambda>() 310 val mappedType: TypeItem = hiddenInterface.convertType(mapping, cls) in <lambda>() 333 val interfaces: Set<TypeItem> = cls.allInterfaceTypes(filterReference).asSequence().toSet() in <lambda>() 879 private fun checkTypeReferencesHidden(item: Item, type: TypeItem) { in <lambda>() 1247 private fun findHiddenClasses(ti: TypeItem?, stubImportPackages: Set<String>?): ClassItem? { in <lambda>()
|
D | NullnessMigration.kt | 25 import com.android.tools.metalava.model.TypeItem 77 private fun hasNullnessInformation(type: TypeItem): Boolean { in hasNullnessInformation() 87 private fun checkType(old: TypeItem, new: TypeItem) { in checkType()
|
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 | JDiffXmlWriter.kt | 27 import com.android.tools.metalava.model.TypeItem in <lambda>() 331 interfaces.sortedWith(TypeItem.comparator).forEach { item -> in <lambda>() 351 private fun formatType(type: TypeItem): String = formatType(type.toTypeString()) in <lambda>()
|
D | AndroidApiChecks.kt | 28 import com.android.tools.metalava.model.TypeItem 255 type: TypeItem? in checkVariable()
|
D | KotlinInteropChecks.kt | 26 import com.android.tools.metalava.model.TypeItem in <lambda>() 363 private fun isKotlinLambda(type: TypeItem) = in <lambda>()
|
/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
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | KotlinStubWriter.kt | 27 import com.android.tools.metalava.model.TypeItem in <lambda>() 192 type: TypeItem? in <lambda>()
|