public static ReilGraph copyReilCode(final Window parent,final INaviCodeNode node){
  final ReilTranslator<INaviInstruction> translator=new ReilTranslator<INaviInstruction>();
  try {
    return translator.translate(new StandardEnvironment(),node);
  }
 catch (  final InternalTranslationException e) {
    CUtilityFunctions.logException(e);
    final String message="E000XXX: " + "Could not show REIL code for node";
    final String description=CUtilityFunctions.createDescription(String.format("BinNavi could not show the REIL code for basic block at '%X'.",node.getAddress()),new String[]{"The instructions could not be converted to REIL code."},new String[]{"You can not fix this problem yourself. Please contact " + "the BinNavi support."});
    NaviErrorDialog.show(parent,message,description,e);
  }
  return null;
}

public static ReilGraph copyReilCode ( final Window parent , final INaviCodeNode node ) { final ReilTranslator < INaviInstruction > translator = new ReilTranslator < INaviInstruction > ( ) ; try { return translator . translate ( new StandardEnvironment ( ) , node ) ; } catch ( final InternalTranslationException e ) { CUtilityFunctions . logException ( e ) ; final String message = "E000XXX: " + "Could not show REIL code for node" ; final String description = CUtilityFunctions . createDescription ( String . format ( "BinNavi could not show the REIL code for basic block at '%X'." , node . getAddress ( ) ) , new String [ ] { "The instructions could not be converted to REIL code." } , new String [ ] { "You can not fix this problem yourself. Please contact " + "the BinNavi support." } ) ; NaviErrorDialog . show ( parent , message , description , e ) ; } return null ; }
copy reil code for node
