code: public static TypeDescriptor forObject(Object source) {
  		return (source != null ? valueOf(source.getClass()) : null);
  	}
docs: Create a new type descriptor for an object.
  <p>Use this factory method to introspect a source object before asking the conversion system to convert it to some another type.
  <p>If the provided object is null, returns null, else calls {@link #valueOf(Class)} to build a TypeDescriptor from the object's class.
  @param source the source object
  @return the type descriptor