diff --git a/src/main/java/ftbsc/geb/processor/GEBProcessor.java b/src/main/java/ftbsc/geb/processor/GEBProcessor.java index c3b6ff2..98bf251 100644 --- a/src/main/java/ftbsc/geb/processor/GEBProcessor.java +++ b/src/main/java/ftbsc/geb/processor/GEBProcessor.java @@ -93,6 +93,16 @@ public class GEBProcessor extends AbstractProcessor { 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 * the list. See the annotation's javadoc for details on what's considered