[java] How to use null in switch