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

io.polyapi.plugin.model.visitor.GenerableVisitor Maven / Gradle / Ivy

There is a newer version: 0.15.3
Show newest version
package io.polyapi.plugin.model.visitor;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import io.polyapi.plugin.model.generation.CustomType;
import io.polyapi.plugin.model.generation.Generable;

public interface GenerableVisitor extends PolySpecificationVisitor {
    Logger log = LoggerFactory.getLogger(GenerableVisitor.class);

    default void visit(Generable generable) {
        log.trace("Visiting Generable.");
        // Do nothing.
    }

    default void visit(CustomType generable) {
        log.trace("Visiting CustomType.");
        visit((Generable) generable);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy