public class B extends A { @Override public final int getA() { return super.getA(); } @Override public final void setA(int value) { super.setA(value); } }