public void add(String javaFile) {
    TestClassInfo testClassInfo = createTestClassInfo(javaFile);
    List<TestClassInfo> extenders = whatExtends(testClassInfo);

    ClassInfo classInfo = scanResult.getClassInfo(testClassInfo.className);
    // This is a possibility for non org.apache.geode files
    if (classInfo == null) {
      return;
    }

    if (!classInfo.isAbstract()) {
      extenders.add(testClassInfo);
    }

    if (extenders.isEmpty()) {
      addTestToCategory(testClassInfo.category, testClassInfo.simpleClassName);
      return;
    }

    extenders.forEach(e -> addTestToCategory(e.category, e.simpleClassName));
  }
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