Iftekhar Khan
05/26/2024, 11:24 AMBug
class to use while generating reports for bugs, hence I am using CodeSmell
.
For example, as shown in the code below:
override fun visitNamedFunction(function: KtNamedFunction) {
super.visitNamedFunction(function)
if (true) { // this can be replaced by any logic
report(CodeSmell(issue, Entity.from(function), "Use Singleton Annotation with Provides"))
}
}
Has anyone else encountered a similar issue?Brais Gabin
05/26/2024, 6:42 PM