Package | Description |
---|---|
migration | |
migration.difffile | |
migration.processor |
Modifier and Type | Field and Description |
---|---|
private java.util.List<DiffPartFileLine> |
DiffFileProcessorTest.diffLinesHunk1
The List of lines contained in the DiffFile.
|
private java.util.List<DiffPartFileLine> |
TestDiffPartFile.hunk
the List of lines in the hunk.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<DiffPartFileLine> |
DiffPartFile.lines
Zeilen einer Diff-Part-File.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<DiffPartFileLine> |
DiffPartFile.getLines()
getter für die Zeilen in einem Diff-Part-File.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DiffPartFileLine.hasSameStateAndContent(DiffPartFileLine line) |
boolean |
DiffFile.isRenameInTheSameContext(DiffPartFileLine firstLine,
DiffPartFileLine secondLine) |
boolean |
DiffPartFile.isRenameInTheSameContext(DiffPartFileLine removeLine,
DiffPartFileLine addLine)
returns true if and only if the lines are in the same context and a rename is unambiguous.
|
Modifier and Type | Method and Description |
---|---|
void |
DiffPartFile.setLines(java.util.List<DiffPartFileLine> lines)
setter für die Zeilen.
|
Constructor and Description |
---|
DiffPartFile(java.util.List<DiffPartFileLine> lines)
Konstruktor.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map.Entry<java.lang.Integer,DiffPartFileLine> |
LineProcessorReturnWrapper.entry
the second processed line.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map.Entry<java.lang.Integer,DiffPartFileLine> |
LineProcessorReturnWrapper.getEntry() |
Modifier and Type | Method and Description |
---|---|
private void |
ConcreteDiffFileProcessor.createOneLineChange(DiffPartFileLine line,
ChangeType classification,
java.util.Set<VariableDefinitionChange> changes)
creates a one line change for the line.
|
Modifier and Type | Method and Description |
---|---|
private void |
ConcreteDiffFileProcessor.createOneLineChanges(java.util.List<DiffPartFileLine> removedLines,
java.util.List<DiffPartFileLine> addedLines,
java.util.Set<VariableDefinitionChange> changes)
create the one line change entries for the remaining lines.
|
private void |
ConcreteDiffFileProcessor.createOneLineChanges(java.util.List<DiffPartFileLine> removedLines,
java.util.List<DiffPartFileLine> addedLines,
java.util.Set<VariableDefinitionChange> changes)
create the one line change entries for the remaining lines.
|
private void |
ConcreteDiffFileProcessor.detectRenominations(java.util.List<DiffPartFileLine> removedLines,
java.util.List<DiffPartFileLine> addedLines,
java.util.Set<VariableDefinitionChange> changes,
DiffFile diffFile)
Detects all renamed definitions.
|
private void |
ConcreteDiffFileProcessor.detectRenominations(java.util.List<DiffPartFileLine> removedLines,
java.util.List<DiffPartFileLine> addedLines,
java.util.Set<VariableDefinitionChange> changes,
DiffFile diffFile)
Detects all renamed definitions.
|
private void |
ConcreteDiffFileProcessor.detectShiftsAndContentChanges(java.util.List<DiffPartFileLine> removedLines,
java.util.List<DiffPartFileLine> addedLines,
java.util.Set<VariableDefinitionChange> changes)
Detects all shifted and content-changed variable definitions.
|
private void |
ConcreteDiffFileProcessor.detectShiftsAndContentChanges(java.util.List<DiffPartFileLine> removedLines,
java.util.List<DiffPartFileLine> addedLines,
java.util.Set<VariableDefinitionChange> changes)
Detects all shifted and content-changed variable definitions.
|
private void |
ConcreteDiffFileProcessor.fillAddedAndRemovedLinesLists(DiffFile diffFile,
java.util.List<DiffPartFileLine> removedLines,
java.util.List<DiffPartFileLine> addedLines)
Adds all Added/removed lines to the respective list, if they contain a variable definition.
|
private void |
ConcreteDiffFileProcessor.fillAddedAndRemovedLinesLists(DiffFile diffFile,
java.util.List<DiffPartFileLine> removedLines,
java.util.List<DiffPartFileLine> addedLines)
Adds all Added/removed lines to the respective list, if they contain a variable definition.
|
private void |
ConcreteDiffFileProcessor.processRemainingLines(java.util.List<DiffPartFileLine> remainingLines,
ChangeType classification,
java.util.Set<VariableDefinitionChange> changes)
creates one line changes with the given classification for each line.
|
LineProcessorReturnWrapper |
LineProcessor.processVariableDefinition(java.util.Map.Entry<java.lang.Integer,DiffPartFileLine> entry,
java.util.Set<java.util.Map.Entry<java.lang.Integer,DiffPartFileLine>> linesSet) |
LineProcessorReturnWrapper |
LineProcessor.processVariableDefinition(java.util.Map.Entry<java.lang.Integer,DiffPartFileLine> entry,
java.util.Set<java.util.Map.Entry<java.lang.Integer,DiffPartFileLine>> linesSet) |
void |
LineProcessorReturnWrapper.setEntry(java.util.Map.Entry<java.lang.Integer,DiffPartFileLine> entry) |
Constructor and Description |
---|
LineProcessorReturnWrapper(RelatedLinesChange synopsis,
java.util.Map.Entry<java.lang.Integer,DiffPartFileLine> entry) |