mirror of
https://github.com/zaaarf/geb-processor.git
synced 2024-11-22 15:54:48 +01:00
chore: set supported version to latest
This commit is contained in:
parent
26c4377317
commit
5add2ddd82
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue