Annotation Interface NeovimApiFunction
Annotation marking that method is a NeovimApiFunction
Marking with this annotation means that the method will do the actual call
It is useful for documentation since it contains information about versions, params and name It could also be used for generating clients and for compile time checking
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintVersion of NeovimApis API the function/method was deprecated in It is used for documentation It can also be used for checking if method is supported by current version 0 means it is not deprecatedName of the function/method This is the name used to call the function via RPCintVersion of NeovimApis API the function/method was introduced in It is used for documentation It can also be used for checking if method is supported by current versionIf function/method is deprecated, this can be used to point to function that should be used instead
-
Element Details
-
name
String nameName of the function/method This is the name used to call the function via RPC- Default:
- ""
-
since
int sinceVersion of NeovimApis API the function/method was introduced in It is used for documentation It can also be used for checking if method is supported by current version- Default:
- 0
-
deprecatedIn
int deprecatedInVersion of NeovimApis API the function/method was deprecated in It is used for documentation It can also be used for checking if method is supported by current version 0 means it is not deprecated- Default:
- 0
-
useFunction
String useFunctionIf function/method is deprecated, this can be used to point to function that should be used instead- Default:
- ""
-