code: public final Folder findTargetFolder(final String artifactName) {
          if (parent == null) {
              throw new IllegalStateException("Parent for generator config is not set: " + getName());
          }
          return parent.findTargetFolder(getName(), artifactName);
      }
docs: Returns the appropriate folder for a given artifact.
  
  @param artifactName
  Unique name of the artifact to return a target folder for.
  
  @return Target folder.