public class Base implements Runnable { void firstMethodFromBase() { } void secondMethodFromBase() { } Base getInstance() { return null; } public void run() { // do nothing } }