code: public static void setClassName(Map<String, Object> map, String className) {
  
          String processedClassName = className;
  
          if (processedClassName != null) {
              // it is highly unlikely that class name would contain ".", but we are cleaning it just in case
              processedClassName = processedClassName.replaceAll("\\.", "_");
          }
  
          map.put(MAP_CLASS_NAME, processedClassName);
      }
docs: InputHandler converts every object into Map.
  Sets Class name of object from which this Map was created.
  
  @param map       Map which would store Class name
  @param className Class name