Bug 565462 - SourceLookup + Java 11 + Find Duplicates broken

Added new ISourceLookupDirector.equalSourceElements() API to allow
Java debugger distinguish between different Java model elements that
represent same Java class files.

The new interface method has default implementation that delegates to
Objects.equals() to keep the previous behavior unchanged for existing
clients.

Change-Id: Ib9a514366e8b613b31fd5143a54fbf2186c4788b
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
3 files changed