Java源码示例:org.pitest.mutationtest.build.MutationInterceptorFactory

示例1
public CompoundInterceptorFactory getInterceptor() {
  final Collection<? extends MutationInterceptorFactory> interceptors = this.plugins
      .findInterceptors();
  final FeatureParser parser = new FeatureParser();
  return new CompoundInterceptorFactory(parser.parseFeatures(this.options.getFeatures()), new ArrayList<>(interceptors));
}
 
示例2
public Collection<? extends MutationInterceptorFactory> findInterceptors() {
  return ServiceLoader.load(MutationInterceptorFactory.class, this.loader);
}