`` $ignoreVisibility`` is likely to never be null, now that it has a default boolean value in the method signature. I am not sure we need this check here then, although it costs little.