private void extractClassTableName() {
      final Table tableAnnotation = clazz.getAnnotation(Table.class);
      if (tableAnnotation != null) {
         final String tableName = tableAnnotation.name();
         this.tableName = tableName.isEmpty()
            ? clazz.getSimpleName() // as per documentation, empty name in Table "defaults to the entity name"
            : tableName;
      }
   }
private void extractClassTableName ( ) { final Table tableAnnotation = clazz . getAnnotation ( Table . class ) ; if ( tableAnnotation != null ) { final String tableName = tableAnnotation . name ( ) ; this . tableName = tableName . isEmpty ( ) ? clazz . getSimpleName ( ) : tableName ; } }
Get the table name specified by the {@link Table} annotation.