<commit_before>package br.com.caelum.vraptor.events;

import br.com.caelum.vraptor.controller.ControllerMethod;
import br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor;

/**
 * Event fired by {@link ExecuteMethodInterceptor}
 * when it has fully completed it's execution.
 *
 * @author <NAME>
 * @since 4.0
 */
public class MethodExecuted {

	private ControllerMethod controllerMethod;

	public MethodExecuted(ControllerMethod method) {
		this.controllerMethod = method;
	}

	public ControllerMethod getControllerMethod() {
		return controllerMethod;
	}
}<commit_msg>extracting getMethodReturnType() on MethodExecuted<commit_after>package br.com.caelum.vraptor.events;

import java.lang.reflect.Type;

import br.com.caelum.vraptor.controller.ControllerMethod;
import br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor;

/**
 * Event fired by {@link ExecuteMethodInterceptor}
 * when it has fully completed it's execution.
 *
 * @author <NAME>
 * @since 4.0
 */
public class MethodExecuted {

	private ControllerMethod controllerMethod;

	public MethodExecuted(ControllerMethod method) {
		this.controllerMethod = method;
	}

	public ControllerMethod getControllerMethod() {
		return controllerMethod;
	}

	public Type getMethodReturnType() {
		return getControllerMethod().getMethod().getGenericReturnType();
	}
}
{'fraction_non_alphanumeric': 0.09691960931630353, 'fraction_numerical': 0.003005259203606311, 'mean_word_length': 5.529411764705882, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5530016', 'n_tokens_mistral': 406, 'n_tokens_neox': 394, 'n_words': 86}