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

net.jbock.processor.JbockProcessor Maven / Gradle / Ivy

There is a newer version: 5.18
Show newest version
package net.jbock.processor;

import io.jbock.auto.common.BasicAnnotationProcessor;

import javax.lang.model.SourceVersion;
import java.util.List;

/**
 * This is the jbock annotation processor.
 * It extends {@link javax.annotation.processing.AbstractProcessor AbstractProcessor}.
 */
public final class JbockProcessor extends BasicAnnotationProcessor {

    @Override
    protected List steps() {
        ProcessorComponent component = ProcessorComponent.create(processingEnv);
        return List.of(
                component.commandStep(),
                component.methodStep());
    }

    @Override
    public SourceVersion getSupportedSourceVersion() {
        return SourceVersion.latestSupported();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy