chore: set supported version to latest

This commit is contained in:
zaaarf 2023-08-25 02:50:10 +02:00
parent 26c4377317
commit 5add2ddd82
No known key found for this signature in database
GPG key ID: 6445A5CD15E5B40C

View file

@ -93,6 +93,16 @@ public class GEBProcessor extends AbstractProcessor {
return claimed; return claimed;
} }
/**
* Sets the supported source version to the latest one.
* It's either that or constant warnings, and the processor is simple enough.
* @return the latest source version
*/
@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.latest();
}
/** /**
* Verifies that the annotated method is valid and, if it is, adds it to * Verifies that the annotated method is valid and, if it is, adds it to
* the list. See the annotation's javadoc for details on what's considered * the list. See the annotation's javadoc for details on what's considered