Is there a rule for "this could be internal/privat...
# detekt
u
Is there a rule for "this could be internal/private" ?
b
No there is not. And implementing something like that on detekt (right now) would be really difficult.
u
what about the one in intellij? or is that just pretending?
b
I don't understand your question. Can you elaborate?
u
Im just thinking out loud if this is possible at all by some other means and maybe we can take inspiration
b
It is possible. But detekt works at file level. And a rule like that needs a bigger scope.
I think that there is an open issue for this. But as I said, right now, it's really difficult. Detekt needs new capabilities to be able to implement a rule like that.
u
i see are you aware of any other tool i could plug into ci?
s
qodana?
e
There is DAGP that has this functionality
u
ooh..which part?
e
The new version has something like suggest internal
Not in documentation yet but since 3.14 version 'publicTypeUsage'