<jupyter_start><jupyter_text>Queries> API details.<jupyter_code># hide
from nbdev.showdoc import *
# export
class JavaQueries:
    get_method_parameters = "(formal_parameter name: (identifier) @function.parameter)"
    get_all_comments = "(comment) @function.comment"
# hide

# Gets comments that preceed a method declaration (e.g. javadocs)
get_method_comments = "((comment) @function.comment (method_declaration))"

# Gets all comments
get_all_comments = "(comment) @function.comment"<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11434108527131782, 'fraction_numerical': 0.0, 'mean_word_length': 6.953846153846154, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '221169', 'license': 'Apache-2.0', 'n_tokens_mistral': 169, 'n_tokens_neox': 165, 'n_words': 38, 'path': 'nbs/01_queries.ipynb', 'repo_name': 'ncoop57/fast_trees', 'size': '516'}