public class A {
  public A() {}
  public boolean m(Object x) {
    return x instanceof A;
  }
}