code: public static TypeCode toTypeCode(Object value) {
  		if (value == null)
  			return TypeCode.Unknown;
  
  		return toTypeCode(value.getClass());
  	}
docs: Gets TypeCode for specific value.
  
  @param value value whose TypeCode is to be resolved.
  @return the TypeCode that corresponds to the passed object's type.