WELD-1584 Ambiguous name validation should not cross visibility boundaries