mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-12-22 11:34:54 +01:00
fix: support every source version
This commit is contained in:
parent
85b3aeea1a
commit
2d944f31c5
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
|
@ -56,6 +57,15 @@ public class LilleroProcessor extends AbstractProcessor {
|
|||
return ProcessorOptions.SUPPORTED;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
|
Loading…
Reference in a new issue