With this inspection enabled and the "use righthand type as weakest type
in assignments" option enabled, IDEA flags the following:
private static final Logger LOG = Logger.getLogger(MyClass.class);
Logger.getLogger(Class) returns a Logger, so it seems to me this
inspection should not fire, based on the documentation of this
inspection. Am I missing something, or is this a bug?