SONARJAVA-771 FP when Cast to unknown type or cast in constructor