package info.izumin.android.droidux.processor;

import com.google.auto.common.BasicAnnotationProcessor;
import com.google.auto.service.AutoService;
import com.google.common.collect.ImmutableList;

import javax.annotation.processing.Filer;
import javax.annotation.processing.Processor;

@AutoService(Processor.class)
public class DroiduxProcessor extends BasicAnnotationProcessor {

    @Override
    protected Iterable<? extends ProcessingStep> initSteps() {
        return ImmutableList.<ProcessingStep>of(
                new ReducerProcessingStep(getFiler()),
                new StoreProcessingStep(getFiler())
        );
    }

    private Filer getFiler() {
        return processingEnv.getFiler();
    }
}

@@ -277,16 +277,55 @@
 ocessor;
+%0Aimport javax.lang.model.SourceVersion;
 %0A%0A@AutoS
@@ -414,16 +414,140 @@
 ssor %7B%0A%0A
+    @Override%0A    public SourceVersion getSupportedSourceVersion() %7B%0A        return SourceVersion.latestSupported();%0A    %7D%0A%0A
     @Ove

Make DroiduxProcessor override getSupportSourceVersion()