String[] pattern = (String[]) this.patternList.toArray(new String[this.patternList.size()]);
PatternsetWriter.create(inputFile, pattern);
this.setDirty(false);
TouchAllFilesOperation touchAllFilesOperation = new TouchAllFilesOperation(inputFile.getProject());
try {
touchAllFilesOperation.run(new NullProgressMonitor());
} catch (InvocationTargetException e) {
e.printStackTrace();
} catch (InterruptedException e) {
e.printStackTrace();
}