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

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

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

import com.google.auto.common.BasicAnnotationProcessor;
import com.google.common.collect.ImmutableSetMultimap;
import net.jbock.Converter;

import javax.inject.Inject;
import javax.lang.model.element.Element;
import java.util.Set;

/**
 * Ensure that changes in the converter class trigger the processing.
 */
@ProcessorScope
public class ConverterProcessingStep implements BasicAnnotationProcessor.Step {

    @Inject
    ConverterProcessingStep() {
    }

    @Override
    public Set annotations() {
        return Set.of(Converter.class.getCanonicalName());
    }

    @Override
    public Set process(ImmutableSetMultimap elementsByAnnotation) {
        return Set.of();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy