protected void work(FindBugsWorker worker,IJavaElement element) throws CoreException {
  worker.work(Collections.singletonList(new WorkItem(element)));
  processUiEvents(ResourceChangeListener.SHORT_DELAY);
  joinJobFamily(FindbugsPlugin.class);
  waitForJobs();
  processUiEvents();
}

protected void work ( FindBugsWorker worker , IJavaElement element ) throws CoreException { worker . work ( Collections . singletonList ( new WorkItem ( element ) ) ) ; processUiEvents ( ResourceChangeListener . SHORT_DELAY ) ; joinJobFamily ( FindbugsPlugin . class ) ; waitForJobs ( ) ; processUiEvents ( ) ; }
runs the findbugs worker on the given java element .
