private ZyEdgeRealizer<EdgeTypeT> getRealizer(final Edge edge) {
    @SuppressWarnings("unchecked")
    final ZyEdgeRealizer<EdgeTypeT> realizer =
        (ZyEdgeRealizer<EdgeTypeT>) getGraph(edge).getRealizer(edge);
    Preconditions.checkState(realizer != null, "Node does not have a realizer");

    return realizer;
  }
Returns the {@code ZyEdgeRealizer} bound to the given edge.

@param edge the edge to get the realizer for
@return the {@code ZyEdgeRealizer} bound to {@code edge}
@throws IllegalStateException if the node does not have a realizer
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/edges/ZyGraphEdge.java