}
public void updateCheckConfigWithIncludeExcludePatterns(
final ProjectConfigurationWorkingCopy pcWorkingCopy, final ICheckConfiguration checkCfg)
throws CheckstylePluginException, CoreException {
final FileSet fs = new FileSet("java-sources-" + getExecutionId(), checkCfg);
fs.setEnabled(true);
// add fileset includes/excludes
fs.setFileMatchPatterns(this.getIncludesExcludesFileMatchPatterns());
// now add the config
pcWorkingCopy.getFileSets().add(fs);
}