| Modifier and Type | Field and Description |
|---|---|
@Nullable java.lang.String |
lmContext |
@Nullable java.lang.String |
lmPatched |
@Nullable Patcher.Result |
result |
@Nullable java.util.List<java.lang.String> |
wmContext |
@Nullable java.util.List<java.lang.String> |
wmPatched |
| Constructor and Description |
|---|
WorkingPatch(Patch other) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFuzzyResult(float fuzzQuality) |
void |
addOffsetResult(int offset,
int fileLength) |
void |
fail() |
java.util.OptionalInt |
getAppliedDelta() |
@Nullable LineRange |
getKeepoutRange2() |
void |
linesToChars(CharRepresenter rep) |
void |
succeed(PatchMode mode,
Patch appliedPatch) |
void |
wordsToChars(CharRepresenter rep) |
combine, getAutoHeader, getContextLines, getContextLines, getHeader, getPatchedLines, getPatchedLines, getRange1, getRange2, getTrimmedRange1, getTrimmedRange2, recalculateLength, split, toString, trim, uncollate@Nullable public @Nullable Patcher.Result result
@Nullable public @Nullable java.lang.String lmContext
@Nullable public @Nullable java.lang.String lmPatched
@Nullable public @Nullable java.util.List<java.lang.String> wmContext
@Nullable public @Nullable java.util.List<java.lang.String> wmPatched
public WorkingPatch(Patch other)
public void fail()
public void addOffsetResult(int offset,
int fileLength)
public void addFuzzyResult(float fuzzQuality)
public void linesToChars(CharRepresenter rep)
public void wordsToChars(CharRepresenter rep)
@Nullable public @Nullable LineRange getKeepoutRange2()
public java.util.OptionalInt getAppliedDelta()