code: public static String getFullClassName(Class cls) {
          String className = cls.getName();
  
          return getFullClassName(className);
      }
docs: Returns the class name, including package, for the given class. This method will deals with proxies and closures.
  
  @param cls The class name
  @return The full class name