Kotlin: Add modifiers to object INSTANCEs

This commit is contained in:
Ian Lynagh
2021-11-08 12:23:21 +00:00
parent 112fac6286
commit b460c92c61
3 changed files with 15 additions and 3 deletions

View File

@@ -1 +1 @@
| objects.kt:2:1:4:1 | MyObject | objects.kt:2:1:4:1 | INSTANCE |
| objects.kt:2:1:4:1 | MyObject | objects.kt:2:1:4:1 | INSTANCE | final,public,static |

View File

@@ -1,5 +1,6 @@
import java
from ClassObject co
from ClassObject co, Field f
where co.fromSource()
select co, co.getInstance()
and f = co.getInstance()
select co, f, concat(f.getAModifier().toString(), ",")