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

com.dchan.jaxb.CreateTraversingVisitorProgressMonitorInterface Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package com.dchan.jaxb;

import com.sun.codemodel.JClass;
import com.sun.codemodel.JMod;
import com.sun.codemodel.JPackage;
import com.sun.tools.xjc.outline.ClassOutline;
import com.sun.tools.xjc.outline.Outline;

import java.util.Set;

class CreateTraversingVisitorProgressMonitorInterface extends CodeCreator {

    CreateTraversingVisitorProgressMonitorInterface(Outline outline,
                                                    JPackage jPackage) {
        super(outline, jPackage);
    }

    @Override
    protected void run(Set classes, Set directClasses) {
        setOutput( outline.getClassFactory().createInterface(jpackage, "TraversingVisitorProgressMonitor", null) );
        getOutput().method(JMod.NONE, void.class, "visited").param(Object.class, "aVisitable");
        getOutput().method(JMod.NONE, void.class, "traversed").param(Object.class, "aVisitable");
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy