test_class.declarator: temporaryFolder = new TemporaryFolder()
test_class.modifier: @Rule
  	public final
test_class.original_string: @Rule
  	public final TemporaryFolder temporaryFolder = new TemporaryFolder();
test_class.type: TemporaryFolder
test_class.var_name: temporaryFolder
test_class.declarator: transactionsService = mock(TransactionsService.class)
test_class.modifier: private final
test_class.original_string: private final TransactionsService transactionsService = mock(TransactionsService.class);
test_class.type: TransactionsService
test_class.var_name: transactionsService
test_class.declarator: service = new ImportFilesService(mock(Window.class), transactionsService)
test_class.modifier: private final
test_class.original_string: private final ImportFilesService service = new ImportFilesService(mock(Window.class), transactionsService);
test_class.type: ImportFilesService
test_class.var_name: service
test_class.file: services/src/test/java/com/greensopinion/finance/services/ImportFilesServiceTest.java
test_class.identifier: ImportFilesServiceTest
test_case.body: @Test
  	public void importFiles() {
  		assertImportFiles(true);
  	}
test_case.class_method_signature: ImportFilesServiceTest.importFiles()
test_case.full_signature: @Test public void importFiles()
test_case.identifier: importFiles
test_case.invocations: assertImportFiles
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void importFiles()
focal_class.declarator: window
focal_class.modifier: private final
focal_class.original_string: private final Window window;
focal_class.type: Window
focal_class.var_name: window
focal_class.declarator: transactionsService
focal_class.modifier: private final
focal_class.original_string: private final TransactionsService transactionsService;
focal_class.type: TransactionsService
focal_class.var_name: transactionsService
focal_class.file: services/src/main/java/com/greensopinion/finance/services/ImportFilesService.java
focal_class.identifier: ImportFilesService
focal_class.class_method_signature: ImportFilesService.ImportFilesService(Window window, TransactionsService transactionsService)
focal_class.full_signature: @Inject  ImportFilesService(Window window, TransactionsService transactionsService)
focal_class.identifier: ImportFilesService
focal_class.modifiers: @Inject
focal_class.parameters: (Window window, TransactionsService transactionsService)
focal_class.signature:  ImportFilesService(Window window, TransactionsService transactionsService)
focal_class.class_method_signature: ImportFilesService.selectedFiles()
focal_class.full_signature: public List<String> selectedFiles()
focal_class.identifier: selectedFiles
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> selectedFiles()
focal_class.class_method_signature: ImportFilesService.importFiles(List<String> files, boolean deleteAfterImport)
focal_class.full_signature: public void importFiles(List<String> files, boolean deleteAfterImport)
focal_class.identifier: importFiles
focal_class.modifiers: public
focal_class.parameters: (List<String> files, boolean deleteAfterImport)
focal_class.return: void
focal_class.signature: void importFiles(List<String> files, boolean deleteAfterImport)
focal_class.class_method_signature: ImportFilesService.addTransactions(Transactions transactions, List<Transaction> provided)
focal_class.full_signature: private Transactions addTransactions(Transactions transactions, List<Transaction> provided)
focal_class.identifier: addTransactions
focal_class.modifiers: private
focal_class.parameters: (Transactions transactions, List<Transaction> provided)
focal_class.return: Transactions
focal_class.signature: Transactions addTransactions(Transactions transactions, List<Transaction> provided)
focal_class.class_method_signature: ImportFilesService.deleteFiles(List<String> files)
focal_class.full_signature: private void deleteFiles(List<String> files)
focal_class.identifier: deleteFiles
focal_class.modifiers: private
focal_class.parameters: (List<String> files)
focal_class.return: void
focal_class.signature: void deleteFiles(List<String> files)
focal_class.class_method_signature: ImportFilesService.overwrite(File file)
focal_class.full_signature: private void overwrite(File file)
focal_class.identifier: overwrite
focal_class.modifiers: private
focal_class.parameters: (File file)
focal_class.return: void
focal_class.signature: void overwrite(File file)
focal_class.class_method_signature: ImportFilesService.importFile(String path)
focal_class.full_signature:  List<Transaction> importFile(String path)
focal_class.identifier: importFile
focal_class.parameters: (String path)
focal_class.return: List<Transaction>
focal_class.signature: List<Transaction> importFile(String path)
focal_class.class_method_signature: ImportFilesService.initialDirectory()
focal_class.full_signature: private File initialDirectory()
focal_class.identifier: initialDirectory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: File
focal_class.signature: File initialDirectory()
focal_method.body: public void importFiles(List<String> files, boolean deleteAfterImport) {
  		checkNotNull(files, "Must provide files");
  
  		Transactions transactions = transactionsService.retrieve();
  
  		for (String path : files) {
  			List<Transaction> fileTransactions = importFile(path);
  			transactions = addTransactions(transactions, fileTransactions);
  		}
  		transactionsService.update(transactions);
  		if (deleteAfterImport) {
  			deleteFiles(files);
  		}
  	}
focal_method.class_method_signature: ImportFilesService.importFiles(List<String> files, boolean deleteAfterImport)
focal_method.full_signature: public void importFiles(List<String> files, boolean deleteAfterImport)
focal_method.identifier: importFiles
focal_method.invocations: checkNotNull retrieve importFile addTransactions update deleteFiles
focal_method.modifiers: public
focal_method.parameters: (List<String> files, boolean deleteAfterImport)
focal_method.return: void
focal_method.signature: void importFiles(List<String> files, boolean deleteAfterImport)