Code inspection for certain methods (patterns)

Answered

I would like to disable code inspection for certain public methods based on their annotation and/or pattern/prefix.

Is that possible or can this be made possible?

1 comment

Certain inspections have settings to ignore specially annotated classes or methods, but there is no generic way to do it for all inspections. Feature request with the use case and the code sample is welcome at https://youtrack.jetbrains.com/issues/IDEA.

Inspections can be enabled/disabled per scope, but scope doesn't operate individual methods, only files.

0

Please sign in to leave a comment.