Files
kotlin-fork/idea/testData/android/lintQuickfix/targetVersionCheck/inlinedConstant.kt.expected
T
2017-04-10 12:39:40 +03:00

12 lines
416 B
Plaintext
Vendored

import android.os.Build
// INTENTION_TEXT: Surround with if (VERSION.SDK_INT >= VERSION_CODES.KITKAT) { ... }
// INSPECTION_CLASS: org.jetbrains.android.inspections.klint.AndroidLintInspectionToolProvider$AndroidKLintInlinedApiInspection
class Test {
fun foo(): Int {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
return android.R.attr.windowTranslucentStatus
}
}
}