Supported @SuppressWarnings Values in Android Studio

后端 未结 4 697
轮回少年
轮回少年 2020-12-29 01:01

What are all of the supported values for @SuppressWarnings in Android Studio?

I couldn\'t find any documentation on it, and I know it isn\'t the same as

4条回答
  •  猫巷女王i
    2020-12-29 01:48

    This is very simple, just click on the deprecated word and press ALT + ENTER on your keyboard, click on --> Inspection 'Deprecated API usage' options. In the drop-down menu, u can select the option that matches your choice, e.g Suppress for class, Suppress for method, Suppress for statement.. Hope it helps.

提交回复
热议问题