Home
last modified time | relevance | path

Searched refs:TypeItem (Results 1 – 19 of 19) sorted by relevance

/tools/metalava/src/test/java/com/android/tools/metalava/model/
DTypeItemTest.kt28 … 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/visitors/
DTypeVisitor.kt20 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/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt30 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()
DTextPropertyItem.kt23 import com.android.tools.metalava.model.TypeItem
51 override fun type(): TypeItem = type
DTextFieldItem.kt23 import com.android.tools.metalava.model.TypeItem
52 override fun type(): TypeItem = type in hashCode()
DTextMethodItem.kt26 import com.android.tools.metalava.model.TypeItem
83 override fun returnType(): TypeItem? = returnType in isConstructor()
/tools/metalava/src/main/java/com/android/tools/metalava/
DNullnessMigration.kt25 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()
DSignatureWriter.kt29 import com.android.tools.metalava.model.TypeItem in <lambda>()
231 … val all: Sequence<TypeItem> = if (isInterface && compatibility.extendsForInterfaceSuperClass) { in <lambda>()
257 all.sortedWith(TypeItem.comparator).forEach { item -> in <lambda>()
313 type: TypeItem?, in <lambda>()
329 typeString = TypeItem.shortenTypes(typeString) in <lambda>()
DNullabilityAnnotationsValidator.kt26 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>()
DProguardWriter.kt25 import com.android.tools.metalava.model.TypeItem
128 private fun getCleanTypeName(t: TypeItem?): String { in getCleanTypeName()
DJDiffXmlWriter.kt27 import com.android.tools.metalava.model.TypeItem in <lambda>()
328 interfaces.sortedWith(TypeItem.comparator).forEach { item -> in <lambda>()
348 private fun formatType(type: TypeItem): String = formatType(type.toTypeString()) in <lambda>()
DKotlinInteropChecks.kt26 import com.android.tools.metalava.model.TypeItem in <lambda>()
357 private fun isKotlinLambda(type: TypeItem) = in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiPropertyItem.kt22 import com.android.tools.metalava.model.TypeItem
44 override fun type(): TypeItem = fieldType in type()
DPsiFieldItem.kt21 import com.android.tools.metalava.model.TypeItem
46 override fun type(): TypeItem = fieldType in type()
DPsiParameterItem.kt21 import com.android.tools.metalava.model.TypeItem
165 override fun type(): TypeItem = type in type()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DPropertyItem.kt24 override fun type(): TypeItem in <lambda>()
DParameterItem.kt27 override fun type(): TypeItem in name()
DPackageItem.kt36 override fun type(): TypeItem? = null in <lambda>()
/tools/dexter/slicer/export/slicer/
Ddex_format.h218 struct TypeItem { struct
225 TypeItem list[]; argument