@Override
 public void searchMatchingJavaElement(final IJavaProject project) {
   final MethodSearch search = getMethodInfo().search;
   if (search != null) {
     marker = search.findIFCStmt(result.getStmt());
     sideMarker = search.makeSideMarker(result);
   }
 }
  @Override
  public void consume(final MethodResult res) {
    final IJavaProject jp = view.getCurrentProject();
    final MethodInfoNode cur = new MethodInfoNode(root, res);
    cur.searchMatchingJavaElement(jp);

    if (!res.hasErrors()) {
      for (final FlowStmtResult fl : res.getStmtResults()) {
        final StmtInfoNode child = new StmtInfoNode(cur, fl);
        child.searchMatchingJavaElement(jp);

        for (final FlowStmtResultPart flpart : fl.getParts()) {
          final TreeNode part = new StmtPartNode(child, flpart);
          part.searchMatchingJavaElement(jp);
        }
      }
    } else {
      for (final FlowError ferr : res.getErrors()) {
        final FlowErrorNode fn = new FlowErrorNode(cur, ferr);
        fn.searchMatchingJavaElement(jp);
      }
    }
  }
 public String toString() {
   return result.getStmt().toString();
 }