// INTENTION_TEXT: Surround with if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { ... } // INSPECTION_CLASS: org.jetbrains.android.inspections.klint.AndroidLintInspectionToolProvider$AndroidKLintNewApiInspection import android.graphics.drawable.VectorDrawable class VectorDrawableProvider { val flag = false fun getVectorDrawable(): VectorDrawable { if (flag) { return VectorDrawable() } } }