I have a method with an Object o parameter.
Object o
In this method, I exactly know there is a String in \"o\" which is not null. There is no need t
String
There cannot be a 'null string in o'. If o is null, it does not contain a null string, it is just null. Just check o for null first. If you cast or call ToString() on null you will crash.