code: public static boolean isSystemPath(final File source) {
      final String lcPath = source.getAbsolutePath().toLowerCase(java.util.Locale.US);
      return lcPath.contains("platformsdk") || lcPath.contains("windows kits") || lcPath.contains("microsoft")
          || Objects.equals(lcPath, "/usr/include")
          || Objects.equals(lcPath, "/usr/lib") || Objects.equals(lcPath, "/usr/local/include")
          || Objects.equals(lcPath, "/usr/local/lib");
    }
docs: Determines if source file has a system path,
  that is part of the compiler or platform.
  
  @param source
  source, may not be null.
  @return true is source file appears to be system library
  and its path should be discarded.