File tree 1 file changed +5
-2
lines changed
barista-processor/src/main/java/com/markelliot/barista/processor
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 46
46
import javax .annotation .processing .Processor ;
47
47
import javax .annotation .processing .RoundEnvironment ;
48
48
import javax .annotation .processing .SupportedAnnotationTypes ;
49
- import javax .annotation .processing .SupportedSourceVersion ;
50
49
import javax .lang .model .SourceVersion ;
51
50
import javax .lang .model .element .Element ;
52
51
import javax .lang .model .element .ElementKind ;
63
62
"com.markelliot.barista.annotations.Http.Put" ,
64
63
"com.markelliot.barista.annotations.Http.Delete" ,
65
64
})
66
- @ SupportedSourceVersion (SourceVersion .RELEASE_17 )
67
65
public final class EndpointHandlerProcessor extends AbstractProcessor {
68
66
67
+ @ Override
68
+ public SourceVersion getSupportedSourceVersion () {
69
+ return SourceVersion .latestSupported ();
70
+ }
71
+
69
72
@ Override
70
73
public boolean process (Set <? extends TypeElement > annotations , RoundEnvironment roundEnv ) {
71
74
try {
You can’t perform that action at this time.
0 commit comments