<commit_before>package fitnesse.slim.test;

import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;

import fitnesse.slim.fixtureInteraction.DefaultInteraction;
import fitnesse.slim.fixtureInteraction.FixtureInteraction;
import fitnesse.slim.fixtureInteraction.InteractionAwareFixture;

public class TestSlimInvocationAware extends TestSlim implements InteractionAwareFixture {
  private static final List<String> METHODS = new ArrayList<>();

  @Override
  public Object aroundSlimInvoke(FixtureInteraction fixtureInteraction, Method method, Object... arguments) throws Throwable {
    METHODS.add(method.getName());
    return fixtureInteraction.methodInvoke(method, this, arguments);
  }

  public static void resetMethodsCalled() {
    METHODS.clear();
  }

  public static List<String> getMethodsCalled() {
    return METHODS;
  }
}<commit_msg>Update TestSlimInvocationAware.java<commit_after>package fitnesse.slim.test;

import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;

import fitnesse.slim.fixtureInteraction.FixtureInteraction;
import fitnesse.slim.fixtureInteraction.InteractionAwareFixture;

public class TestSlimInvocationAware extends TestSlim implements InteractionAwareFixture {
  private static final List<String> METHODS = new ArrayList<>();

  @Override
  public Object aroundSlimInvoke(FixtureInteraction fixtureInteraction, Method method, Object... arguments) throws Throwable {
    METHODS.add(method.getName());
    return fixtureInteraction.methodInvoke(method, this, arguments);
  }

  public static void resetMethodsCalled() {
    METHODS.clear();
  }

  public static List<String> getMethodsCalled() {
    return METHODS;
  }
}
{'fraction_non_alphanumeric': 0.08682983682983683, 'fraction_numerical': 0.0, 'mean_word_length': 5.868, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5825811', 'n_tokens_mistral': 510, 'n_tokens_neox': 484, 'n_words': 109}