class Main {
  void foo() {
    Test.class.getField("num2");
  }
}

class Test extends Parent {
  public int num;
  void int num3;
  private int num5;
}

class Parent {
  public int num2;
  int num4;
  private int num6;
}