// 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 import android.os.Build class VectorDrawableProvider { fun getVectorDrawable(): VectorDrawable { with(this) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { return VectorDrawable() } } } }