Resolved my problem, this was some magically weird...
# intellij
c
Resolved my problem, this was some magically weird thing probably inter-language classpath something, turned out the class that wasn't being resolved was a groovy enum. I haven't noticed that it was groovy because it was written java style, and for some reason in previous classes arrangement it was being resolved but when I moved the classes (even though within same gradle subproject) it stopped working. I rewrote the enum to Kt and now it's working.