code: String getClassName(Element e) {
          // e has to be a TypeElement
          TypeElement te = (TypeElement)e;
          String packageName = elementUtils.getPackageOf(te).getQualifiedName().toString();
          String className = te.getQualifiedName().toString();
          if (className.startsWith(packageName + ".")) {
              String classAndInners = className.substring(packageName.length() + 1);
              className = packageName + "." + classAndInners.replace('.', '$');
          }
          return className;
      }
docs: Returns class name in the format com.package.ClassName$Inner1$Inner2