code: public static ClassName get(String packageName, String simpleName, String... simpleNames) {
      ClassName className = new ClassName(packageName, null, simpleName);
      for (String name : simpleNames) {
        className = className.nestedClass(name);
      }
      return className;
    }
docs: Returns a class name created from the given parts. For example, calling this with package name
  {@code "java.util"} and simple names {@code "Map"}, {@code "Entry"} yields {@link Map.Entry}.