public static Class getClass(final Object obj) {
    return (obj == null ? null : obj.getClass());
  }
Gets the Class type for the specified Object, or returns null if the Object reference is null.
<p>

@param obj the Object who's class type is determined.
@return the Class type of the Object parameter, or null if the Object reference is null.
@see java.lang.Object#getClass()
geode-common/src/main/java/org/apache/geode/internal/lang/utils/ClassUtils.java