I had a kotlin interface like this: ```interface R...
# announcements
f
I had a kotlin interface like this:
Copy code
interface Resource {
    val resourceId: String
}
and a class like this:
Copy code
data class Document(
    override val resourceId: String
) : Resource
Now I need to convert that interface to java code. I made this:
Copy code
public interface Resource {
    String getResourceId();
}
but now I get an error that
override
overrides nothing. How to solve this?