I am interesting are there any way to replace kotlin interface variable in Java.
E.g. what should i write in java to have same logic
interface ObjectWithId
{
var id : Long
}
Before facing this problem all my code could be easily converted back to java, but using interface variables breaks 'backward compatibility'. Isn't it?