<commit_before>/*
 * Copyright 2015 the original author or authors.
 *
 * All rights reserved. This program and the accompanying materials are
 * made available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution and is available at
 *
 * http://www.eclipse.org/legal/epl-v10.html
 */

package org.junit.gen5.engine;

import java.lang.reflect.Method;
import java.util.Optional;

public class JavaSource implements TestSource {

	private final Class javaClass;

	private final Method javaMethod;

	public JavaSource(Class<?> clazz) {
		javaClass = clazz;
		javaMethod = null;
	}

	public JavaSource(Method method) {<commit_msg>Fix raw types warning<commit_after>/*
 * Copyright 2015 the original author or authors.
 *
 * All rights reserved. This program and the accompanying materials are
 * made available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution and is available at
 *
 * http://www.eclipse.org/legal/epl-v10.html
 */

package org.junit.gen5.engine;

import java.lang.reflect.Method;
import java.util.Optional;

public class JavaSource implements TestSource {

	private final Class<?> javaClass;

	private final Method javaMethod;

	public JavaSource(Class<?> clazz) {
		javaClass = clazz;
		javaMethod = null;
	}

	public JavaSource(Method method) {
{'fraction_non_alphanumeric': 0.08289768483943241, 'fraction_numerical': 0.01344286781179985, 'mean_word_length': 4.275590551181103, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5452331', 'n_tokens_mistral': 391, 'n_tokens_neox': 367, 'n_words': 137}