code: public static String getAnnotationTableName(AnnotatedElement element) {
          String result = "";
          result = DatabaseTableConfig.extractTableName((Class<?>) element);
          return result;
      }
docs: Gets the table name from DatabaseTable annotation. If the DatabaseTable#tableName is not
  specified, returns the class name.
  @param element
  Element to be evaluated.
  @return Returns the table name.