Exclude .kt files from useless parameter query

This commit is contained in:
Tamas Vajk
2022-11-16 14:51:49 +01:00
parent 35078738bc
commit 48c37a2c0f
2 changed files with 1 additions and 4 deletions

View File

@@ -274,7 +274,7 @@ class DeadMethod extends Callable {
class RootdefCallable extends Callable {
RootdefCallable() {
this.fromSource() and
this.getFile().isJavaSourceFile() and
not this.(Method).overridesOrInstantiates(_)
}

View File

@@ -1,3 +0,0 @@
| Test.kt:11:8:11:18 | a | The parameter 'a' is never used. |
| Test.kt:19:5:19:5 | <this> | The parameter '<this>' is never used. |
| Test.kt:24:9:24:14 | a | The parameter 'a' is never used. |