code: public BasicBlock getSuccessorWithEdgeType(BasicBlock source, @Type int edgeType) {
          Edge edge = getOutgoingEdgeWithType(source, edgeType);
          return edge != null ? edge.getTarget() : null;
      }
docs: Get the first successor reachable from given edge type.
  
  @param source
  the source block
  @param edgeType
  the edge type leading to the successor
  @return the successor, or null if there is no outgoing edge with the
  specified edge type