<commit_before>package net.acomputerdog.core.java;

import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;

/**
 * Reflection utilities
 */
public class Reflect {
    /**
     * Map of FieldInstances to Fields
     */
    private static final Map<FieldInstance, Field> fieldMap = new HashMap<FieldInstance, Field>();

    /**
     * Gets the value of a field, even if it is private
     *
     * @param cls      The class containing the field<commit_msg>Deprecate Reflect<commit_after>package net.acomputerdog.core.java;

import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;

@Deprecated //this is left only as legacy code support, and should not be relied upon
/**
 * Reflection utilities
 */
public class Reflect {
    /**
     * Map of FieldInstances to Fields
     */
    private static final Map<FieldInstance, Field> fieldMap = new HashMap<FieldInstance, Field>();

    /**
     * Gets the value of a field, even if it is private
     *
     * @param cls      The class containing the field
{'fraction_non_alphanumeric': 0.09541984732824428, 'fraction_numerical': 0.0, 'mean_word_length': 3.1137254901960785, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3395958', 'n_tokens_mistral': 302, 'n_tokens_neox': 299, 'n_words': 105}