@SPI public interface AnnotatedMethodParameterProcessor extends Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| 限定符和类型 | 方法和说明 |
|---|---|
static String |
buildDefaultValue(int parameterIndex)
Build the default value
|
String |
getAnnotationType()
The string presenting the annotation type
|
void |
process(Annotation annotation,
Parameter parameter,
int parameterIndex,
Method method,
Class<?> serviceType,
Class<?> serviceInterfaceClass,
RestMethodMetadata restMethodMetadata)
Process the specified method
parameter |
compareTo, getPriorityString getAnnotationType()
void process(Annotation annotation, Parameter parameter, int parameterIndex, Method method, Class<?> serviceType, Class<?> serviceInterfaceClass, RestMethodMetadata restMethodMetadata)
parameterannotation - the target annotation whose type is getAnnotationType()parameter - the method parameterparameterIndex - the index of method parametermethod - method that parameter belongs toserviceType - Dubbo Service interface or typeserviceInterfaceClass - The type of Dubbo Service interfacerestMethodMetadata - the metadata is used to updatestatic String buildDefaultValue(int parameterIndex)
parameterIndex - the index of parameterCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.