| import android.annotation.TargetApi | |
| import android.os.Build | |
| // INTENTION_TEXT: Add @TargetApi(KITKAT) Annotation | |
| // INSPECTION_CLASS: com.android.tools.idea.lint.AndroidLintInlinedApiInspection | |
| class Test { | |
| @TargetApi(Build.VERSION_CODES.KITKAT) | |
| fun foo(): Int { | |
| return android.R.attr.windowTranslucentStatus | |
| } | |
| } |