code: private static String classNameOf(TypeElement type, String delimiter) {
      String name = type.getSimpleName().toString();
      while (type.getEnclosingElement() instanceof TypeElement) {
        type = (TypeElement) type.getEnclosingElement();
        name = type.getSimpleName() + delimiter + name;
      }
      return name;
    }
docs: Returns the name of the given type, including any enclosing types but not the package, separated
  by a delimiter.