public class Example extends AbstractExample {
private AbstractExample example;
public Example(AbstractExample example) {
this.example = example;
}
void myMethod() {
int i = 1 + 1;
}
@Override
void doSomething() {
example.doSomething();
}
@Override
void doSomethingWith(Object object) {
example.doSomethingWith(object);
}
}