private List<TestClassInfo> whatExtends(TestClassInfo testClass) {
    List<TestClassInfo> results = new ArrayList<>();
    ClassInfoList subClasses = scanResult.getSubclasses(testClass.className);

    for (ClassInfo classInfo : subClasses) {
      String classFilename = classInfo.getClasspathElementURL().getFile();
      results.add(
          new TestClassInfo(classFilename, getCategory(classFilename), classInfo.getName(),
              getSimpleName(classInfo.getName())));
    }

    return results;
  }
This class is intended as a helper to the CI StressNewTest job. Given a list of changed test java
files, it expands the list to include any subclasses and outputs a partial Gradle command line to
execute those tests depending on the 'category' of test (unit, distributed, etc.).
geode-junit/src/main/java/org/apache/geode/test/util/StressNewTestHelper.java