Puts the given definitions in a map according to their names.
Removes definitions that should not be considered for API equality.
Removes definitions that should not be considered for API equality. All top-level definitions are always considered: 'private' only means package-private. Other definitions are considered if they are not qualified with 'private[this]' or 'private'.
Checks the API of two source files for equality.