* if the pyc should be removed.
*/
protected void handleAddedPycFiles(IResource resource, PythonNature nature) {
try {
//we do that because we may have an added .pyc without a correspondent .py file
PycHandlerBuilderVisitor pycVisitor = new PycHandlerBuilderVisitor();
pycVisitor.visitingWillStart(monitor, false, nature);
try {
pycVisitor.visitAddedResource(resource, null, monitor); //doc is not used in pyc remover
} finally {
pycVisitor.visitingEnded(monitor);
}
} catch (Exception e) {
Log.log(e);
}
}