Package | Description |
---|---|
migration | |
migration.processeddifffile | |
migration.processor |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<VariableDefinitionChange> |
DiffFileProcessorTest.expectedChanges
The set of changes expected in the test case.
|
Modifier and Type | Class and Description |
---|---|
class |
OneLineChange
Represents a change which is caused by one line.
|
class |
RelatedLinesChange
Objektifizierung des Vergleiches von alter und neuer Definition.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Set<VariableDefinitionChange> |
ProcessedDiffFile.changes
the set of changes.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<VariableDefinitionChange> |
ProcessedDiffFile.getChanges() |
Modifier and Type | Method and Description |
---|---|
void |
ProcessedDiffFile.setChanges(java.util.Set<VariableDefinitionChange> changes) |
Constructor and Description |
---|
ProcessedDiffFile(java.util.Set<VariableDefinitionChange> changes)
Creates a new ProcessedDiffFile for the list of changes.
|
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.
|
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.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.processRemainingLines(java.util.List<DiffPartFileLine> remainingLines,
ChangeType classification,
java.util.Set<VariableDefinitionChange> changes)
creates one line changes with the given classification for each line.
|