@Override public boolean containsNode(CGNode n) { return cg.containsNode(n) && keep.contains(n); }
@Override public boolean containsNode(CGNode n) { return cg.containsNode(n) && keep.contains(n); }
/** * @return IntraproceduralExceptionAnalysis for given node. */ public IntraproceduralExceptionAnalysis getAnalysis(CGNode node) { if (!callGraph.containsNode(node)) { throw new IllegalArgumentException("The given CG node has to be part " + "of the call graph given during construction."); } IntraproceduralExceptionAnalysis result = analysis.get(node); if (result == null) { throw new RuntimeException("Internal Error: No result for the given node."); } return result; }
/** * @return IntraproceduralExceptionAnalysis for given node. */ public IntraproceduralExceptionAnalysis getAnalysis(CGNode node) { if (!callGraph.containsNode(node)) { throw new IllegalArgumentException("The given CG node has to be part " + "of the call graph given during construction."); } IntraproceduralExceptionAnalysis result = analysis.get(node); if (result == null) { throw new RuntimeException("Internal Error: No result for the given node."); } return result; }