File tree Expand file tree Collapse file tree
src/main/java/org/variantsync/diffdetective Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package org .variantsync .diffdetective .datasets ;
22
3- import org .variantsync .diffdetective .feature .PreprocessorAnnotationParser ;
3+ import org .variantsync .diffdetective .feature .AnnotationParser ;
44import org .variantsync .diffdetective .variation .diff .parse .VariationDiffParseOptions ;
55
66/**
@@ -27,7 +27,7 @@ public enum DiffStoragePolicy {
2727 /**
2828 * Creates PatchDiffParseOptions with the given annotation parser.
2929 */
30- public PatchDiffParseOptions withAnnotationParser (PreprocessorAnnotationParser annotationParser ) {
30+ public PatchDiffParseOptions withAnnotationParser (AnnotationParser annotationParser ) {
3131 return new PatchDiffParseOptions (
3232 this .diffStoragePolicy (),
3333 this .variationDiffParseOptions ().withAnnotationParser (annotationParser )
Original file line number Diff line number Diff line change 66/**
77 * Parse options that should be used when parsing {@link org.variantsync.diffdetective.variation.diff.VariationDiff}s.
88 *
9- * @param annotationParser A parser for parsing c preprocessor annotations.
9+ * @param annotationParser A parser for parsing annotations.
1010 * @param collapseMultipleCodeLines Whether multiple consecutive code lines with the same diff
1111 * type should be collapsed into a single artifact node.
1212 * @param ignoreEmptyLines Whether to add {@code DiffNode}s for empty lines (regardless of their {@code DiffType}).
@@ -37,7 +37,7 @@ public VariationDiffParseOptions(
3737 /**
3838 * Creates VariationDiffParseOptions with the given annotation parser.
3939 */
40- public VariationDiffParseOptions withAnnotationParser (PreprocessorAnnotationParser annotationParser ) {
40+ public VariationDiffParseOptions withAnnotationParser (AnnotationParser annotationParser ) {
4141 return new VariationDiffParseOptions (
4242 annotationParser ,
4343 this .collapseMultipleCodeLines (),
You can’t perform that action at this time.
0 commit comments