feat(annotations): add @CommandMethod annotation processing (#366)
We now verify the following at compile time: - That `@CommandMethod` annotated methods are non-static (error) - That `@CommandMethod` annotated methods are public (warning) - That the `@CommandMethod` syntax and specified `@Argument`s match - That no optional argument precedes a required argument
This commit is contained in:
parent
f1582fb64e
commit
74fd40f403
17 changed files with 500 additions and 14 deletions
|
|
@ -5,4 +5,5 @@
|
|||
<suppressions>
|
||||
<suppress checks="(?:(?:Member|Method)Name|DesignForExtension|Javadoc.*)" files=".*[\\/]mixin[\\/].*"/>
|
||||
<suppress checks="(?:Javadoc.*)" files=".*[\\/]bukkit[\\/]internal[\\/].*"/>
|
||||
<suppress checks="(?:Javadoc.*)" files=".*[\\/]example-.*[\\/].*"/>
|
||||
</suppressions>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue