Home
last modified time | relevance | path

Searched refs:isKotlin (Results 1 – 11 of 11) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/
DKotlinInteropChecks.kt50 private var isKotlin = false in <lambda>() variable
53 isKotlin = cls.isKotlin() in <lambda>()
57 checkMethod(method, isKotlin) in <lambda>()
61 checkField(field, isKotlin) in <lambda>()
66 fun checkField(field: FieldItem, isKotlin: Boolean = field.isKotlin()) { in <lambda>()
67 if (isKotlin) { in <lambda>()
73 fun checkMethod(method: MethodItem, isKotlin: Boolean = method.isKotlin()) { in <lambda>()
75 if (isKotlin) { in <lambda>()
88 if (!method.isKotlin()) { in <lambda>()
211 …if (method.containingClass().simpleName() == "Companion" && method.isKotlin() && method.modifiers.… in <lambda>()
[all …]
DApiLint.kt414 val name = if (method.isKotlin() && method.name().contains("-")) { in <lambda>()
1972 if (item.isKotlin()) { in <lambda>()
2990 if (method.isKotlin()) { in <lambda>()
DApiAnalyzer.kt786 !item.isKotlin() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt389 …private fun hasExplicitRetention(modifiers: PsiModifierItem, psiClass: PsiClass, isKotlin: Boolean… in <lambda>()
396 if (isKotlin && psiClass is UClass) { in <lambda>()
441 val isKotlin = isKotlin(psiClass) in <lambda>() constant
454 !hasExplicitRetention(modifiers, psiClass, isKotlin) in <lambda>()
515 if (isKotlin) { in <lambda>()
DPsiParameterItem.kt50 if (isKotlin(psiParameter)) { in name()
68 return if (isKotlin(psiParameter)) { in hasDefaultValue()
129 if (isKotlin(psiParameter)) { in computeDefaultValue()
DPsiItem.kt228 override fun isKotlin(): Boolean { in isKotlin() method in com.android.tools.metalava.model.psi.PsiItem
229 return isKotlin(element) in isKotlin()
271 fun isKotlin(element: PsiElement): Boolean { in isKotlin() method
DPsiMethodItem.kt160 if (isKotlin()) { in <lambda>()
176 if (!isKotlin()) { in <lambda>()
222 if (isKotlin(value)) { in <lambda>()
DPsiTypeItem.kt490 …} else if (nullness != null && owner.modifiers.isVarArg() && owner.isKotlin() && type is PsiEllips… in getCanonicalText()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextItem.kt39 …override fun isKotlin(): Boolean = codebase.unsupported() // source language not recorded in signa… method in com.android.tools.metalava.model.text.TextItem
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DItem.kt161 fun isKotlin() = !isJava() in isHiddenOrRemoved() method
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DStubWriter.kt192 stubWriter = if (options.kotlinStubs && cls.isKotlin()) { in <lambda>()