canResolveDeclaredName