Reputation: 1723
Recently, while looking over this sample, on this line there is //noinspection unchecked
commentary that suppress the warning "Unchecked cast".
What are other such commentaries? So far I only knew that @SurpressLint
had such powers.
Upvotes: 0
Views: 88
Reputation: 814
When suppressing an inspection, IntelliJ IDEA inserts a special comment that tells the code analysis engine to ignore the issues found by this inspection in the specific piece of code.
When disabling an inspection, you just turn it off so the code analysis engine just ignores the code issues found by this inspection.
https://www.jetbrains.com/help/idea/suppressing-inspections.html
Upvotes: 1