public static void setPackageNameAttribute(@NotNull Properties properties, @NotNull PsiDirectory directory) {
    properties.setProperty(FileTemplate.ATTRIBUTE_PACKAGE_NAME, getPackageName(directory));
  }
public static void setPackageNameAttribute(@NotNull Properties properties, @NotNull PsiDirectory directory)