Ugly multiple inheritance in Java

Let’s say we have two classes:

Let’s imagine that the methods are really big and complex and for some horrid reason we want to inherit from both classes.