package a.pkg; public class A extends AParent implements AInterface { private int aField; public A() { } public A(A arg) { } public void aMethod() { aInterfaceMethod(); } public void aOverloaded() { } public void aOverloaded(int arg) { } public void aOverloaded(boolean arg) { } public void commonOverloaded(Object arg) { } public void commonOverloaded(A arg) { } public void unmappedOverloaded(Object arg) { } public void unmappedOverloaded(A arg) { } @Override public void aInterfaceMethod() { new A() {}; } public class Inner { private int aField; } }