diff options
-rw-r--r-- | src/main/java/ftbsc/lll/processor/LilleroProcessor.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java index b0a6fc5..568e2e6 100644 --- a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java +++ b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java @@ -15,6 +15,7 @@ import ftbsc.lll.proxies.ProxyType; import ftbsc.lll.proxies.impl.TypeProxy; import javax.annotation.processing.*; +import javax.lang.model.SourceVersion; import javax.lang.model.element.*; import javax.lang.model.type.ExecutableType; import javax.lang.model.type.TypeMirror; @@ -57,6 +58,15 @@ public class LilleroProcessor extends AbstractProcessor { } /** + * Always returns the latest version since this should never break. + * @return the latest version + */ + @Override + public SourceVersion getSupportedSourceVersion() { + return SourceVersion.latest(); + } + + /** * Returns the {@link ProcessorOptions} for this instance, creating the object if * it hasn't been already. * @return the {@link ProcessorOptions} for this instance |