Reports methods that only return a constant, which may differ for various inheritors.

This inspection requires global code analysis. It is only available from Analyze | Inspect Code or Analyze | Run Inspection by Name and doesn't report in the editor.