If there's a setup like this: ```// Foo.java publi...
# compiler
m
If there's a setup like this:
Copy code
// Foo.java
public interface Foo {
    Bar XYZ = new Bar { ... }
}
is there a way for me to emit an irGetField for it? I tried fooKlass.getFieldByName("XYZ") but that didn't seem to work, and fooKlass.fields.toList() returns an empty list. In kotlin I'd just write
Foo.XYZ
. Or is there some other way to access these fields instead of irGetField?
s
This looks like a static field? Not sure what the correct incantation in IR is, but likely it is slightly different since static fields don't need dispatch receiver, for example