Is it possible to create DeteKt rule for checking is the Android fragment constructor used directly in the code instead newInstance
?
I would like to create checks that prohibit the creation of a custom constructor for a fragment as well as the direct creation of a fragment in code.