“noinspection” keyword list in Android Studio
问题 In Android Studio I sometimes use this kind of comment to disable an inspection warning on a specific line of code that I already handled, for example: if(Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) { //noinspection deprecation textView.setBackgroundDrawable(ContextCompat.getDrawable(mContext, R.drawable.calendar_item_separator)); } else { textView.setBackground(ContextCompat.getDrawable(mContext, R.drawable.calendar_item_separator)); } In this example I used the keyword