@Override
public boolean work(final String text) {
try {
_inspection.registerEventListener(getProject());
final IFindBugsEngine engine = createFindBugsEngine();
final FindBugsTask findBugsTask = new FindBugsTask(_project, _bugCollection, "Running FindBugs inspection...", true, engine, true);
_bugReporter.setFindBugsTask(findBugsTask);
findBugsTask.runFindBugs(engine);
return true;
} catch (final Exception e) {
LOGGER.debug("FindBugs inspection failed.", e);
return false;
} finally {