Switch statements and expressions in Java traditionally throw a NullPointerException if the selector expression evaluates to null. This necessitates an external null check before entering the switch.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results