class Source extends File {

  protected static String fromImport(final String line) {
    return extractLiteralPart(line).flatMap(literal -> {
      for (final String quote : QUOTES) {
        if (literal.startsWith(quote) && literal.endsWith(quote)) {
          return of(literal.substring(quote.length(), literal.length() - quote.length()).trim());
        }
      }
      return empty();
    }).orElse(null);
  }

  public  Source(final Project project, final String location);

}