| java.lang.Object dwarfvsmodel.ModelComparator
ModelComparator | public class ModelComparator (Code) | | Compares declarations from model (CsmFile) and dwarf (CompilationUnit)
NB: Naming conventions.
areXxxxEqual methods - return boolean (true if equal otherwise false)
does NOT affect counters
does NOT report anything
basically is atomic (don't go deep inside)
compareXxxx methods - have void return type,
affects counters,
report differences
print trace information
go recursively through objects
author: ak119685, vkvashin |
areDeclarationNamesEqual | public boolean areDeclarationNamesEqual(CsmDeclaration modelDeclaration, DwarfEntry dwarfDeclaration)(Code) | | Returns true if name matches.
|
areFunctionSignaturesEqual | boolean areFunctionSignaturesEqual(CsmFunction modelFunction, DwarfEntry dwarfFunction)(Code) | | Compares functions signature. Does NOT print to diff, does NOT affect counters
|
compareFunctionParameters | boolean compareFunctionParameters(CsmFunction modelFunction, DwarfEntry dwarfFunction)(Code) | | Compares functions signature.
Prints to diff, affects counters
|
setBidirectional | public void setBidirectional(boolean bidirectional)(Code) | | |
setCompareBodies | public void setCompareBodies(boolean compareBodies)(Code) | | |
setPrintToScreen | public void setPrintToScreen(boolean printToScreen)(Code) | | |
|
|