code: private void createLinkNames(final Collection<DuplicateCode> result) {
          if (workspacePath != null) {
              for (FileAnnotation duplication : result) {
                  duplication.setPathName(workspacePath);
              }
          }
      }
docs: For each duplicate code annotation that does not have a package name
  (i.e., for non Java sources), a link name is generated.
  
  @param result the annotations