private void connectPublicMethodsToFrame(){
  for (  ClassCallNode ccgNode : ccg.vertexSet()) {
    RawControlFlowGraph cfg=getRCFG(ccgNode);
    if (cfg.isPublicMethod()) {
      addEdge(getFrameNode(FrameNodeType.CALL),methodEntries.get(ccgNode.getMethod()),new CCFGFrameEdge());
      addEdge(methodExits.get(ccgNode.getMethod()),getFrameNode(FrameNodeType.RETURN),new CCFGFrameEdge());
      publicMethods.add(methodEntries.get(ccgNode.getMethod()));
    }
  }
}

private void connectPublicMethodsToFrame ( ) { for ( ClassCallNode ccgNode : ccg . vertexSet ( ) ) { RawControlFlowGraph cfg = getRCFG ( ccgNode ) ; if ( cfg . isPublicMethod ( ) ) { addEdge ( getFrameNode ( FrameNodeType . CALL ) , methodEntries . get ( ccgNode . getMethod ( ) ) , new CCFGFrameEdge ( ) ) ; addEdge ( methodExits . get ( ccgNode . getMethod ( ) ) , getFrameNode ( FrameNodeType . RETURN ) , new CCFGFrameEdge ( ) ) ; publicMethods . add ( methodEntries . get ( ccgNode . getMethod ( ) ) ) ; } } }
adds a ccfgframeedge from the ccfgframenode call to the ccfgmethodentrynode of each public method and from their ccfgmethodexitnode to the ccfgframenode return .
