public static DefUseCoverageTestFitness createGoal(Definition def,Use use,DefUseCoverageTestFitness.DefUsePairType type){
  DefUseCoverageTestFitness goal=new DefUseCoverageTestFitness(def,use,type);
  if (registerGoal(goal))   return goal;
 else {
    return null;
  }
}

public static DefUseCoverageTestFitness createGoal ( Definition def , Use use , DefUseCoverageTestFitness . DefUsePairType type ) { DefUseCoverageTestFitness goal = new DefUseCoverageTestFitness ( def , use , type ) ; if ( registerGoal ( goal ) ) return goal ; else { return null ; } }
given a definition and a use , this method creates a defusecoveragegoal for this defusepair .
