Suppress 'Method XYZ may be static' for Community Edition
Answered
How suppress 'Method XYZ may be static' for Community Edition?
Please sign in to leave a comment.
Please see https://www.jetbrains.com/idea/help/suppressing-inspections.html.
Alt + Enter does not work in my Community Edition because of some reasons.
Please provide the logs: https://intellij-support.jetbrains.com/hc/articles/207241085.
https://ln.sync.com/dl/fd2305320#dsttj29q-5rkztfdk-c5whyma4-he3a985a
Fix: Alt + Enter works, but does not show "Suppress" for this case.
Can you reproduce it with any project? If so, try again with all the defaults (remove config/plugin/system folders: https://intellij-support.jetbrains.com/hc/articles/206544519).
Can't reproduce:
Forgot, this is for Groovy.
Try again, please, or just specify the name of the suppress annotation for static.
Thank you!
Same for Groovy:
The name is:
@SuppressWarnings("GrMethodMayBeStatic")