class AnnotationExtractor {

  static public <E extends Enum<?>> String getBaseName(Class<E> enumClass) {
    BaseName rbnAnnotation = (BaseName) enumClass.getAnnotation(BaseName.class);
    if (rbnAnnotation == null) {
      return null;
    }
    return rbnAnnotation.value();
  }

}