code: private String setCurrentFilename(String relativePathOrPackage, String filename, String domain) throws Exception {
          currentFullFilename = convertToFullFilename(relativePathOrPackage, filename, domain);
          return "";
      }
docs: called within the velocity script.<br>
  see $velocity.setJavaFilename(...)<br>
  this allows us to generate dynamically the filename.
  
  @param relativePathOrPackage
  @param filename
  @param domain
  @throws Exception