martmists
11/09/2025, 11:26 PM// 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?shikasd
11/10/2025, 11:59 AM