Kotlin: Add a file_classes consistency query

This commit is contained in:
Ian Lynagh
2021-12-02 19:34:04 +00:00
parent 33757a1266
commit 509860b7cf
2 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
import java
// File classes should only be extracted if we need somewhere to
// put top-level members.
from Class c
where file_class(c)
and not exists(c.getAMember())
and none() // TODO: This is currently broken
select c