code: public String getPackageNode(int index) {
          if (packageNodes == null) {
              packageNodes = StringUtils.split(getPackageName(), '.');
          }
  
          int i = packageNodes.length - 1 - index;
          if (i >= 0 && i < packageNodes.length) {
              return packageNodes[i];
          }
          return "";
      }
docs: Get node of the package name.
  <p>
  Ex: Assuming the package name is<code>com.jaxio.toto.tutu</code> you get <br>
  <code>getPackageNode(0) -&gt; tutu</code> <br>
  <code>getPackageNode(1) = toto</code> etc.