public abstract class A { void method (Integer x) { methodImpl(); } private void methodImpl() {} }