code: protected boolean isApplicationClass(String className) {
          for (String packageName : packagesToFilter) {
              if (className.startsWith(packageName)) return false;
          }
          return true;
      }
docs: Whether the given class name is an internal class and should be filtered
  @param className The class name
  @return true if is internal