as31: Drop custom Kotlin Android lint, register quickfixes with extension point

This commit is contained in:
Vyacheslav Gerasimov
2017-05-04 15:54:08 +03:00
committed by Nikolay Krasko
parent 686d8a1756
commit 11ee744340
232 changed files with 869 additions and 9570 deletions
@@ -0,0 +1,14 @@
// INTENTION_TEXT: Surround with if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { ... }
// INSPECTION_CLASS: org.jetbrains.android.inspections.lint.AndroidLintInspectionToolProvider$AndroidLintNewApiInspection
import android.graphics.drawable.VectorDrawable
class VectorDrawableProvider {
val flag = false
fun getVectorDrawable(): VectorDrawable {
return when (flag) {
true -> <caret>VectorDrawable()
else -> VectorDrawable()
}
}
}