Iterator<Edge> i = outgoingEdgeIterator(basicBlock); while (i.hasNext()) { Edge edge = i.next(); if (edge.getType() == edgeType) return edge; } return null;
return getEdgeWithType(outgoingEdgeIterator(basicBlock), edgeType);
	public Edge getOutgoingEdgeWithType(BasicBlock basicBlock, int edgeType) {		Iterator<Edge> i = outgoingEdgeIterator(basicBlock);		while (i.hasNext()) {			Edge edge = i.next();			if (edge.getType() == edgeType)				return edge;		}		return null;	}