All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.pitest.bytecode.analysis.AnalysisFunctions Maven / Gradle / Ivy

There is a newer version: 1.17.1
Show newest version
package org.pitest.bytecode.analysis;

import java.util.function.Function;
import java.util.function.Predicate;

import org.pitest.mutationtest.engine.Location;
import org.pitest.mutationtest.engine.MutationDetails;

public class AnalysisFunctions {
  public static Function> matchMutationsInMethod() {
    return method -> {
      final Location methodLocation = method.asLocation();
      return a -> methodLocation.equals(a.getId().getLocation());
    };
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy