@NonNls
  @Nullable
  protected String getDefaultTemplateName(@NotNull PsiDirectory dir) {
    String property = getDefaultTemplateProperty();
    return property == null ? null : PropertiesComponent.getInstance(dir.getProject()).getValue(property);
  }
@NonNls
  @Nullable
  protected String getDefaultTemplateName(@NotNull PsiDirectory dir)