Searched refs:isKotlin (Results 1 – 10 of 10) sorted by relevance
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | KotlinInteropChecks.kt | 45 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 …]
|
D | ApiLint.kt | 232 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>()
|
D | ApiAnalyzer.kt | 790 !item.isKotlin() in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiClassItem.kt | 380 …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>()
|
D | PsiItem.kt | 204 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
|
D | PsiParameterItem.kt | 52 if (isKotlin(psiParameter)) { in name() 69 return if (isKotlin(psiParameter)) { in hasDefaultValue() 125 if (isKotlin(psiParameter)) { in computeDefaultValue()
|
D | PsiMethodItem.kt | 158 if (isKotlin()) { in <lambda>() 174 if (!isKotlin()) { in <lambda>() 220 if (PsiItem.isKotlin(value)) { in <lambda>()
|
D | PsiTypeItem.kt | 472 …} 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/ |
D | TextItem.kt | 40 …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/ |
D | Item.kt | 158 fun isKotlin() = !isJava() in isHiddenOrRemoved() method
|