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

12 lines
381 B
Plaintext
Vendored

import android.annotation.TargetApi
import android.os.Build
// INTENTION_TEXT: Add @TargetApi(KITKAT) Annotation
// INSPECTION_CLASS: org.jetbrains.android.inspections.klint.AndroidLintInspectionToolProvider$AndroidKLintInlinedApiInspection
class Test {
@TargetApi(Build.VERSION_CODES.KITKAT)
fun foo(): Int {
return android.R.attr.windowTranslucentStatus
}
}