@Nullable private static File findManifestDirectory(@NotNull SourceProvider sourceProvider){
  File manifestFile=sourceProvider.getManifestFile();
  File manifestDir=manifestFile.getParentFile();
  if (manifestDir != null) {
    return manifestDir;
  }
  return null;
}

@ Nullable private static File findManifestDirectory ( @ NotNull SourceProvider sourceProvider ) { File manifestFile = sourceProvider . getManifestFile ( ) ; File manifestDir = manifestFile . getParentFile ( ) ; if ( manifestDir != null ) { return manifestDir ; } return null ; }
finds and returns the main manifest directory for the given project or null if one cannot be found .
