[FIR, Tests] Deprecate property references to ::javaClass