Throw RuntimeException when ambiguous reference was found.
improve exception message
fix plural in exception message
use statement
remove duplicity
show warning only instead of throwing exception
Merge remote-tracking branch 'johnikx/ambiguous-reference-warning'
Refactor to avoid global static state