public static List<BlockNode> filterPredecessors(BlockNode block){
  List<BlockNode> predecessors=block.getPredecessors();
  List<BlockNode> list=new ArrayList<BlockNode>(predecessors.size());
  for (  BlockNode pred : predecessors) {
    IgnoreEdgeAttr edgeAttr=pred.get(AType.IGNORE_EDGE);
    if (edgeAttr == null) {
      list.add(pred);
    }
 else     if (!edgeAttr.contains(block)) {
      list.add(pred);
    }
  }
  return list;
}

public static List < BlockNode > filterPredecessors ( BlockNode block ) { List < BlockNode > predecessors = block . getPredecessors ( ) ; List < BlockNode > list = new ArrayList < BlockNode > ( predecessors . size ( ) ) ; for ( BlockNode pred : predecessors ) { IgnoreEdgeAttr edgeAttr = pred . get ( AType . IGNORE_EDGE ) ; if ( edgeAttr == null ) { list . add ( pred ) ; } else if ( ! edgeAttr . contains ( block ) ) { list . add ( pred ) ; } } return list ; }
return predecessors list without blocks contains ' ignore_edge ' attribute .
