class GeneratedSourceFolders {

  public boolean isFolderGeneratedInCorrectLocation(@NotNull File folderPath, @NotNull IdeAndroidProject androidProject) {
    File generatedFolderPath = new File(androidProject.getBuildFolder(), FD_GENERATED);
    return isAncestor(generatedFolderPath, folderPath, false);
  }

}