ProcessorBasedRefactoring refactoring = new ProcessorBasedRefactoring(
processor);
CheckConditionsOperation checkOp = new CheckConditionsOperation(
refactoring, CheckConditionsOperation.ALL_CONDITIONS);
CreateChangeOperation operation = new CreateChangeOperation(checkOp,
RefactoringStatus.WARNING);
PerformChangeOperation perform = new PerformChangeOperation(operation);
try {
ResourcesPlugin.getWorkspace().run(perform,