All Downloads are FREE. Search and download functionalities are using the official Maven repository.

poussecafe.doc.doclet.ClassModuleDocCreator Maven / Gradle / Ivy

The newest version!
package poussecafe.doc.doclet;

import java.util.function.Consumer;
import javax.lang.model.element.TypeElement;
import poussecafe.doc.model.moduledoc.ModuleDocFactory;
import poussecafe.doc.process.ModuleDocCreation;

public class ClassModuleDocCreator implements Consumer {

    @Override
    public void accept(TypeElement classDoc) {
        if (moduleDocFactory.isModuleDoc(classDoc)) {
            Logger.debug("Adding module from class " + classDoc.getQualifiedName().toString());
            moduleDocCreation.addModuleDoc(classDoc);
        }
    }

    private ModuleDocFactory moduleDocFactory;

    private ModuleDocCreation moduleDocCreation;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy