question: private static FunctionBlock findBlock ( final Callgraph callgraph , final Function function ) { for ( final FunctionBlock callgraphNode : callgraph ) { if ( function == callgraphNode . getFunction ( ) ) { return callgraphNode ; } } throw new IllegalStateException ( "Error: Call graph node of unknown function" ) ; }
target:  Finds the node that represents a given function in a Call graph.