package org.xpect.expectation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.xpect.XpectImport; import org.xpect.expectation.impl.StringDiffExpectationImpl; import org.xpect.text.GenericTokenizer; import com.google.common.base.Function; @Target(ElementType.PARAMETER) @Retention(RetentionPolicy.RUNTIME) @XpectImport(StringDiffExpectationImpl.class) public @interface StringDiffExpectation { boolean allowSingleLineDiff() default true; boolean allowSingleSegmentDiff() default true; int linesAfterDiff() default 4; int linesBeforeDiff() default 4; Class<? extends Function<String, ? extends Iterable<String>>> tokenizer() default GenericTokenizer.class; boolean whitespaceSensitive() default false; }