Hello, how do I find out if a method call stands f...
# detekt
g
Hello, how do I find out if a method call stands for an extension for nullable type. If i have the method
Type?.extForNullable()
I want to identify in a rule if this method is called, and not a version of it exclusive for a non-null instance of
Type
, or a more specialized version of it, like
SpecificType?.extForNullable()
, even if
SpecificType : Type
. I’m trying to visit dot-qualified expressions, since if I go for a safe expression I’m not calling a nullable version any way, but idk how to follow from here
g