Annotation Interface CmdParam
Command parameter annotation.
指令参数注解。
- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value- Returns:
- parameter name
参数名
-
suggest
String suggest- Returns:
- parameter suggestion
You can pass a method name or a string. UltiTools-API will search for the method in the same class first. If the method is not found, it will search in the class which is indecated inCmdSuggest. If the method is still not found, it will return the string as the suggestion (i18n supported).
参数补全建议
你可以传入一个方法名或一个字符串。UltiTools-API 会首先在同一个类中寻找这个方法。 如果方法没有找到,它会在CmdSuggest中指定的类中寻找。 如果方法仍然没有找到,它会将字符串作为建议返回(支持国际化)。 - See Also:
- Default:
""
-