Reports methods which only ever return a constant. Because this inspection requires global code analysis it is only available for
Analyze|Inspect Code
or
Analyze|Run Inspection by Name
and it will not report in the editor.