LFGraph graph = localContext.getGraph();
@SuppressWarnings("unchecked")
Set<LFEdge> outgoingEdges = graph.containsVertex(localContext.vertex)
? graph.outgoingEdgesOf(localContext.vertex) : Collections.EMPTY_SET;
if(outgoingEdges.isEmpty()) { // leaf?
setPredicateName(localContext);
}
else {