code: public static String getClass(String element) {
          Preconditions.checkNotNull(element,"argument 'element' can not be null");
          return element.substring(element.lastIndexOf('.') + 1);
      }
docs: Extracts the class name from a qualified class.
  
  @param element string of the qualified class
  @return class name