protected void registerConvention(NamingConvention<T> convention) {
    String shortName = convention.getShortName();
    NamingConvention<T> oldConvention = myNamingConventions.put(shortName, convention);
    if (oldConvention != null) {
      LOG.error("Duplicated short names: " + shortName + " first: " + oldConvention + "; second: " + convention);
    }
    myNamingConventionBeans.put(shortName, convention.createDefaultBean());
    if (!convention.isEnabledByDefault()) {
      myDisabledShortNames.add(shortName);
    }
  }
protected void registerConvention(NamingConvention<T> convention)