File tree Expand file tree Collapse file tree
core/flamingock-processor/src/main/java/io/flamingock/core/processor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636import javax .annotation .processing .AbstractProcessor ;
3737import javax .annotation .processing .ProcessingEnvironment ;
3838import javax .annotation .processing .RoundEnvironment ;
39- import javax .annotation .processing .SupportedSourceVersion ;
4039import javax .lang .model .SourceVersion ;
4140import javax .lang .model .element .TypeElement ;
4241import java .io .File ;
118117 * @version 2.0
119118 * @since Flamingock v1.x
120119 */
121- @ SupportedSourceVersion (SourceVersion .RELEASE_8 )
122120public class FlamingockAnnotationProcessor extends AbstractProcessor {
123121
124122 private static final String RESOURCES_PATH_ARG = "flamingock.resources" ;
@@ -167,6 +165,11 @@ public Set<String> getSupportedAnnotationTypes() {
167165 ));
168166 }
169167
168+ @ Override
169+ public SourceVersion getSupportedSourceVersion () {
170+ return SourceVersion .latestSupported ();
171+ }
172+
170173 @ Override
171174 public boolean process (Set <? extends TypeElement > annotations , RoundEnvironment roundEnv ) {
172175 if (roundEnv .processingOver ()) {
You can’t perform that action at this time.
0 commit comments