接口 ParameterConverter<A extends Annotation>
- 类型参数:
A- the type of the annotation
public interface ParameterConverter<A extends Annotation>
This interface is used to convert the value of a parameter annotated with
ParameterConverter to the
required type.- 作者:
- codeboyzhou
-
方法概要
-
方法详细资料
-
convert
Converts the value of the specified parameter annotated with the specified annotation to the required type.- 参数:
parameter- the parameter to convertannotation- the annotation that annotates the parameterargs- the arguments passed to the method- 返回:
- the converted value of the parameter
-
getAnnotationType
Returns the type of the annotation that this converter supports.- 返回:
- the type of the annotation that this converter supports
-