File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
additions/src/main/java/uk/co/kleindelao/mapstruct/spring/converter Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1717import javax .annotation .processing .AbstractProcessor ;
1818import javax .annotation .processing .RoundEnvironment ;
1919import javax .annotation .processing .SupportedAnnotationTypes ;
20+ import javax .lang .model .SourceVersion ;
2021import javax .lang .model .element .Element ;
2122import javax .lang .model .element .ExecutableElement ;
2223import javax .lang .model .element .TypeElement ;
@@ -41,6 +42,11 @@ public class ConverterMapperProcessor extends AbstractProcessor {
4142 private final ConversionServiceBridgeGenerator bridgeGenerator =
4243 new ConversionServiceBridgeGenerator (Clock .systemUTC ());
4344
45+ @ Override
46+ public SourceVersion getSupportedSourceVersion () {
47+ return SourceVersion .latestSupported ();
48+ }
49+
4450 @ Override
4551 public boolean process (
4652 final Set <? extends TypeElement > annotations , final RoundEnvironment roundEnv ) {
You can’t perform that action at this time.
0 commit comments