"Performance Issues->Method may be static" vs. "Declaration Redundancy->Declaration can have static modifier"?

Why do these both exist? They look like the same inspection, to me.

1 comment
Comment actions Permalink

The built-in "May be static" inspection is batch-only, from a time when finding out if a method was over-ridden was prohibitively expensive for a inline inspection. It should probably be deprecated.

--Dave Griffith


Please sign in to leave a comment.