There's a previous related question about this here:
Is there any way to include the name of the interface when implementing the method
But I'm asking if there's a way so IntelliJ Idea does it itself when it generates these method automatically. It'd be great if the @Override annotation had some syntax like @Override(from_class), so you can have things like:
@Override("Comparable") Integer compareTo(Object o) { ... }
But that's not the case.
I've played a bit with the templates but thereis no ${OVERRIDDEN_FROM} or similar variable available with the name of the interface/class the method is overridden from, so that seems like a dead end too.
So, does anyone know a way to do this? Aside for requesting it to IntelliJ...