public static <NodeType extends IGraphNode<NodeType> & ISelectableNode>
      Collection<NodeType> getPredecessorsOfSelection(final ISelectableGraph<NodeType> graph) {
    return GraphAlgorithms.getPredecessors(getSelectedNodes(graph));
  }
Returns the predecessors of the selected nodes of a graph.

@param <NodeType> The type of the nodes in the graph.
@param graph The graph in question.
@return A collection of all predecessor nodes of the selected graph nodes.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/zygraph/helpers/GraphHelpers.java