code: String getTargetInternalName(String sourceInternalName, String targetPackage) {
          StringBuilder targetInternalName = new StringBuilder();
          targetInternalName.append(targetPackage.replaceAll("\\.", "/"));
  
          int lastSlashIndex = sourceInternalName.lastIndexOf('/');
          targetInternalName.append(sourceInternalName.substring(lastSlashIndex));
  
          return targetInternalName.toString();
      }
docs: Get the class internal name that should be used where moving the internal
  class across packages.
  
  @param sourceInternalName the internal name of the template class
  @param targetPackage      the package to move the class to
  
  @return the target class name