* <p>
* This method is used by the definition-shadowing logic.
*/
private int compareCompilationUnits(ICompilationUnit a, ICompilationUnit b)
{
IDefinitionPriority priorityA = a.getDefinitionPriority();
IDefinitionPriority priorityB = b.getDefinitionPriority();
return priorityA.compareTo(priorityB);
}