void () { try { super.close(); } catch (IOException e) { throw new RuntimeException(e); } finally { myOutputsMap = Collections.emptyMap(); myInputSources = Collections.emptyList(); myInputSourcesIndex.clear(); myFileOperations.clearCaches(null); for (Closeable closeable : myCloseables) { try { closeable.close(); } catch (IOException ignored) { } } myCloseables.clear(); } }