Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/
DKotlinInteropChecks.kt45 private var isKotlin = false in check() variable
48 isKotlin = cls.isKotlin() in check()
52 checkMethod(method, isKotlin) in check()
56 checkField(field, isKotlin) in check()
61 fun checkField(field: FieldItem, isKotlin: Boolean = field.isKotlin()) { in checkField()
62 if (isKotlin) { in checkField()
68 fun checkMethod(method: MethodItem, isKotlin: Boolean = method.isKotlin()) { in checkMethod()
70 if (isKotlin) { in checkMethod()
83 if (!method.isKotlin()) { in ensureExceptionsDocumented()
177 …if (method.containingClass().simpleName() == "Companion" && method.isKotlin() && method.modifiers.… in ensureCompanionJvmStatic()
[all …]
DApiLint.kt232 private var isKotlin = false in <lambda>() variable in com.android.tools.metalava.ApiLint
246 isKotlin = cls.isKotlin() in <lambda>()
258 kotlinInterop?.checkMethod(method, isKotlin) in <lambda>()
264 kotlinInterop?.checkField(field, isKotlin) in <lambda>()
DApiAnalyzer.kt790 !item.isKotlin() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt380 …private fun hasExplicitRetention(modifiers: PsiModifierItem, psiClass: PsiClass, isKotlin: Boolean… in <lambda>()
387 if (isKotlin && psiClass is UClass) { in <lambda>()
432 val isKotlin = isKotlin(psiClass) in <lambda>() constant
437 !hasExplicitRetention(modifiers, psiClass, isKotlin) in <lambda>()
496 if (isKotlin) { in <lambda>()
DPsiItem.kt204 override fun isKotlin(): Boolean { in isKotlin() method in com.android.tools.metalava.model.psi.PsiItem
205 return isKotlin(element) in isKotlin()
245 fun isKotlin(element: PsiElement): Boolean { in isKotlin() method
DPsiParameterItem.kt52 if (isKotlin(psiParameter)) { in name()
69 return if (isKotlin(psiParameter)) { in hasDefaultValue()
125 if (isKotlin(psiParameter)) { in computeDefaultValue()
DPsiMethodItem.kt158 if (isKotlin()) { in <lambda>()
174 if (!isKotlin()) { in <lambda>()
220 if (PsiItem.isKotlin(value)) { in <lambda>()
DPsiTypeItem.kt472 …} 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.kt40 …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.kt158 fun isKotlin() = !isJava() in isHiddenOrRemoved() method