Package org.pitest.mutationtest.build
Class CompoundMutationInterceptor
- java.lang.Object
-
- org.pitest.mutationtest.build.CompoundMutationInterceptor
-
- All Implemented Interfaces:
MutationInterceptor
public class CompoundMutationInterceptor extends Object implements MutationInterceptor
-
-
Constructor Summary
Constructors Constructor Description CompoundMutationInterceptor(List<? extends MutationInterceptor> interceptors)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin(ClassTree clazz)voidend()CompoundMutationInterceptorfilter(Predicate<MutationInterceptor> p)voidinitialise(CodeSource code)Called once per instance prior to interceptingCollection<MutationDetails>intercept(Collection<MutationDetails> mutations, Mutater m)static MutationInterceptornullInterceptor()InterceptorTypetype()
-
-
-
Constructor Detail
-
CompoundMutationInterceptor
public CompoundMutationInterceptor(List<? extends MutationInterceptor> interceptors)
-
-
Method Detail
-
nullInterceptor
public static MutationInterceptor nullInterceptor()
-
filter
public CompoundMutationInterceptor filter(Predicate<MutationInterceptor> p)
-
initialise
public void initialise(CodeSource code)
Description copied from interface:MutationInterceptorCalled once per instance prior to intercepting- Specified by:
initialisein interfaceMutationInterceptor- Parameters:
code- Current code source
-
begin
public void begin(ClassTree clazz)
- Specified by:
beginin interfaceMutationInterceptor
-
intercept
public Collection<MutationDetails> intercept(Collection<MutationDetails> mutations, Mutater m)
- Specified by:
interceptin interfaceMutationInterceptor
-
end
public void end()
- Specified by:
endin interfaceMutationInterceptor
-
type
public InterceptorType type()
- Specified by:
typein interfaceMutationInterceptor
-
-