myWatchRequests = new ArrayList<LocalFileSystem.WatchRequest>();
updateWatcherSetup();
}
public void updateWatcherSetup() {
OsmorcFacet osmorcFacet = OsmorcFacet.getInstance(myModule);
if (osmorcFacet != null) {
List<VirtualFile> newAdditionalJARContents = new ArrayList<VirtualFile>();
OsmorcFacetConfiguration osmorcFacetConfiguration = osmorcFacet.getConfiguration();
List<Pair<String, String>> jarContents = osmorcFacetConfiguration.getAdditionalJARContents();
for (Pair<String, String> jarContent : jarContents) {
VirtualFile file = myFileSystem.findFileByPath(jarContent.getFirst());
if (file != null) {
newAdditionalJARContents.add(file);