<commit_before>package cat.ppicas.spades;

import java.lang.reflect.Field;

public class ReflectionUtils {

	public static Field getField(Class<?> cls, String fieldName) throws NoSuchFieldException {
		while (cls != null) {
			for (Field field : cls.getDeclaredFields()) {
				if (field.getName().equals(fieldName)) {
					return field;
				}
			}
			cls = cls.getSuperclass();
		}

		throw new NoSuchFieldException(fieldName);
	}

}<commit_msg>Adding TableBuilder to refactor some functionality of Table<commit_after>package cat.ppicas.spades;

import java.lang.reflect.Field;

public class ReflectionUtils {

	public static Field getField(Class<?> cls, String fieldName) throws NoSuchFieldException {
		while (cls != null) {
			for (Field field : cls.getDeclaredFields()) {
				if (field.getName().equals(fieldName)) {
					return field;
				}
			}
			cls = cls.getSuperclass();
		}

		throw new NoSuchFieldException(fieldName);
	}

	public static Field findFields(Class<?> cls, String[] fieldNames) {
		return null;
	}

	/**
	 * Generate a list of possible entity field names from a table column name.
	 *
	 * <p>
	 * For example with the table column named {@code underscored_words} this
	 * will return the following list:
	 * <ul>
	 * <li>camleCase</li>
	 * <li>mCamleCase</li>
	 * </ul>
	 * </p>
	 *
	 * @param columnName The name of a table column.
	 * @return An array of strings with the possible names.
	 */
	public static String[] generateFieldNamesFromColumnName(String columnName) {
		return null;
	}

}
{'fraction_non_alphanumeric': 0.11272247857613711, 'fraction_numerical': 0.0, 'mean_word_length': 3.7735849056603774, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3825258', 'n_tokens_mistral': 519, 'n_tokens_neox': 466, 'n_words': 138}