fix Issue 10502 - Can't get fullyQualifiedName of a templated struct