private void copyDocFiles() throws DocletException {
        PackageElement containingPackage = utils.containingPackage(annotationType);
        if((configuration.packages == null ||
            !configuration.packages.contains(containingPackage) &&
            !containingPackagesSeen.contains(containingPackage))){
            //Only copy doc files dir if the containing package is not
            //documented AND if we have not documented a class from the same
            //package already. Otherwise, we are making duplicate copies.
            utils.copyDocFiles(containingPackage);
            containingPackagesSeen.add(containingPackage);
        }
    }
private void copyDocFiles ( ) throws DocletException { PackageElement containingPackage = utils . containingPackage ( annotationType ) ; if ( ( configuration . packages == null || ! configuration . packages . contains ( containingPackage ) && ! containingPackagesSeen . contains ( containingPackage ) ) ) { utils . copyDocFiles ( containingPackage ) ; containingPackagesSeen . add ( containingPackage ) ; } }
Copy the doc files for the current TypeElement if necessary.

@throws DocletException if there is a problem building the documentation