public boolean isDirectlyControlDependentOn(BytecodeInstruction ins,Branch b){
  if (ins == null)   throw new IllegalArgumentException("null given");
  BasicBlock insBlock=ins.getBasicBlock();
  return isDirectlyControlDependentOn(insBlock,b);
}

public boolean isDirectlyControlDependentOn ( BytecodeInstruction ins , Branch b ) { if ( ins == null ) throw new IllegalArgumentException ( "null given" ) ; BasicBlock insBlock = ins . getBasicBlock ( ) ; return isDirectlyControlDependentOn ( insBlock , b ) ; }
determines whether the given bytecodeinstruction is directly control dependent on the given branch . it ' s basicblock is control dependent on the given branch . if b is null , it is assumed to be the root branch . if the given instruction is not known to this cdg an illegalargumentexception is thrown .
