ApkClass { @NotNull public String getFqn() { return myFqn; } ApkClass(@NotNull String name, @NotNull ApkPackage parent); @NotNull String getName(); @NotNull String getFqn(); @NotNull ApkPackage getParent(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void getFqn() { ApkPackage p1 = new ApkPackage("p1", null); ApkPackage p2 = new ApkPackage("p2", p1); ApkClass c = new ApkClass("c", p2); assertEquals("p1.p2.c", c.getFqn()); }